Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.9 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 190.7 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 64.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8137, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03574/0.8495, allocations: 32.6 MB / 1.199 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.8679, allocations: 10.26 MB / 1.209 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.8718, allocations: 151.2 kB / 1.209 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.882, allocations: 3.722 MB / 1.213 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.888, allocations: 1.948 MB / 1.215 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006381/0.8944, allocations: 2.142 MB / 1.217 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009952/0.9044, allocations: 7.337 MB / 1.224 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01489/0.9193, allocations: 9.431 MB / 1.233 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.925, allocations: 3.229 MB / 1.236 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.9309, allocations: 3.477 MB / 1.24 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.9331, allocations: 0.6484 MB / 1.241 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/0.9378, allocations: 1.775 MB / 1.242 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.005075/0.9429, allocations: 2.546 MB / 1.245 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.007359/0.9503, allocations: 2.898 MB / 1.248 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.9644, allocations: 10.11 MB / 1.257 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.9644, allocations: 0 / 1.257 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9645, allocations: 4 kB / 1.257 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003717/0.9648, allocations: 0 / 1.257 GB, free: 7.18 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01896/0.9838, allocations: 4.998 MB / 1.262 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.9839, allocations: 8.625 kB / 1.262 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005933/0.9898, allocations: 0.9512 MB / 1.263 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008157/0.998, allocations: 3.038 MB / 1.266 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.9985, allocations: 353.7 kB / 1.267 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/1.001, allocations: 456.2 kB / 1.267 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/1.018, allocations: 7.675 MB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/1.018, allocations: 27.77 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/1.019, allocations: 203.9 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003454/1.019, allocations: 313 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/1.03, allocations: 5.706 MB / 1.281 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04003/1.07, allocations: 34.83 MB / 1.315 GB, free: 8.934 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/1.073, allocations: 2.154 MB / 1.317 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/1.075, allocations: 1.264 MB / 1.318 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/1.075, allocations: 17.31 kB / 1.318 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/1.075, allocations: 47.88 kB / 1.318 GB, free: 5.328 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 5.38e-06/1.075, allocations: 4 kB / 1.318 GB, free: 5.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01658/1.092, allocations: 7.081 MB / 1.325 GB, free: 13.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.092, allocations: 68.72 kB / 1.325 GB, free: 13.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.094, allocations: 1.488 MB / 1.326 GB, free: 12.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.094, allocations: 45.7 kB / 1.326 GB, free: 12.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/1.096, allocations: 2.004 MB / 1.328 GB, free: 10.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/1.096, allocations: 493 kB / 1.329 GB, free: 9.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/1.097, allocations: 347.2 kB / 1.329 GB, free: 9.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.097, allocations: 305.1 kB / 1.33 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.098, allocations: 0.9096 MB / 1.33 GB, free: 8.227 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/1.1, allocations: 1.597 MB / 1.332 GB, free: 6.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/1.104, allocations: 2.737 MB / 1.335 GB, free: 3.273 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/1.104, allocations: 4 kB / 1.335 GB, free: 3.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006515/1.11, allocations: 3.53 MB / 1.338 GB, free: 15.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/1.11, allocations: 23.88 kB / 1.338 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/1.11, allocations: 24 kB / 1.338 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/1.113, allocations: 0.9003 MB / 1.339 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.114, allocations: 351.4 kB / 1.339 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.139, allocations: 23.1 MB / 1.362 GB, free: 5.586 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.141, allocations: 112 kB / 1.362 GB, free: 5.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/1.141, allocations: 84 kB / 1.362 GB, free: 5.395 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002962/1.144, allocations: 1.609 MB / 1.364 GB, free: 3.773 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/1.145, allocations: 205.5 kB / 1.364 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/1.15, allocations: 2.99 MB / 1.367 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.15, allocations: 11.97 kB / 1.367 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.15, allocations: 4 kB / 1.367 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.151, allocations: 458.5 kB / 1.367 GB, free: 48 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/1.152, allocations: 20 kB / 1.367 GB, free: 28 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/1.153, allocations: 67.91 kB / 1.367 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.153, allocations: 129.1 kB / 1.367 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006487/1.16, allocations: 3.099 MB / 1.37 GB, free: 12.69 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004645/1.164, allocations: 3.278 MB / 1.374 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001191/1.166, allocations: 0.9626 MB / 1.375 GB, free: 8.43 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00178/1.167, allocations: 0.9756 MB / 1.376 GB, free: 7.43 MB / 1.107 GB Notification: Performance of Backend: time 7.91e-07/1.167, allocations: 0 / 1.376 GB, free: 7.43 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007633/1.175, allocations: 3.887 MB / 1.379 GB, free: 3.383 MB / 1.107 GB Notification: Performance of SimCode: time 0.01727/1.192, allocations: 8.096 MB / 1.387 GB, free: 11.27 MB / 1.123 GB Notification: Performance of Templates: time 0.07557/1.268, allocations: 42.86 MB / 1.429 GB, free: 0.7617 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches