Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001427/0.001427, allocations: 111.5 kB / 16.42 MB, free: 6.426 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.001457/0.001457, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.66/2.66, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8362/0.8377, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0358/0.8735, allocations: 32.61 MB / 1.258 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.8895, allocations: 10.27 MB / 1.268 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.8926, allocations: 151.2 kB / 1.268 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00915/0.9018, allocations: 3.713 MB / 1.272 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.9071, allocations: 1.948 MB / 1.274 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005275/0.9124, allocations: 2.147 MB / 1.276 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008592/0.921, allocations: 7.341 MB / 1.283 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.9353, allocations: 9.408 MB / 1.292 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.9409, allocations: 3.229 MB / 1.296 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005536/0.9464, allocations: 3.485 MB / 1.299 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002092/0.9486, allocations: 0.6484 MB / 1.3 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/0.9532, allocations: 1.763 MB / 1.301 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.9576, allocations: 2.55 MB / 1.304 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006333/0.9639, allocations: 2.898 MB / 1.307 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.9782, allocations: 10.13 MB / 1.316 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9782, allocations: 3.938 kB / 1.316 GB, free: 0.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9782, allocations: 0 / 1.316 GB, free: 0.875 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003349/0.9786, allocations: 0 / 1.316 GB, free: 0.875 MB / 1.029 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.01241/0.991, allocations: 5.124 MB / 1.321 GB, free: 11.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.991, allocations: 8.031 kB / 1.321 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006089/0.9971, allocations: 0.9813 MB / 1.322 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/1.004, allocations: 3.059 MB / 1.325 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/1.005, allocations: 345.7 kB / 1.326 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/1.006, allocations: 468.3 kB / 1.326 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/1.024, allocations: 7.667 MB / 1.334 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/1.024, allocations: 27.72 kB / 1.334 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/1.026, allocations: 200 kB / 1.334 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003956/1.026, allocations: 316.9 kB / 1.334 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/1.039, allocations: 5.706 MB / 1.34 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04379/1.083, allocations: 34.88 MB / 1.374 GB, free: 2.402 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/1.086, allocations: 2.158 MB / 1.376 GB, free: 132 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/1.087, allocations: 1.264 MB / 1.377 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.088, allocations: 13.31 kB / 1.377 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.088, allocations: 47.86 kB / 1.377 GB, free: 14.79 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 4.227e-06/1.088, allocations: 4 kB / 1.377 GB, free: 14.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01434/1.102, allocations: 7.149 MB / 1.384 GB, free: 7.375 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/1.102, allocations: 64.72 kB / 1.384 GB, free: 7.301 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/1.105, allocations: 1.484 MB / 1.386 GB, free: 5.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.105, allocations: 53.64 kB / 1.386 GB, free: 5.711 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.106, allocations: 2.073 MB / 1.388 GB, free: 3.617 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/1.107, allocations: 0.4919 MB / 1.388 GB, free: 3.121 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/1.108, allocations: 351.4 kB / 1.389 GB, free: 2.77 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.108, allocations: 301.1 kB / 1.389 GB, free: 2.473 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.109, allocations: 0.9096 MB / 1.39 GB, free: 1.562 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.111, allocations: 1.597 MB / 1.391 GB, free: 15.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/1.115, allocations: 2.737 MB / 1.394 GB, free: 12.61 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/1.115, allocations: 8 kB / 1.394 GB, free: 12.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006676/1.122, allocations: 3.535 MB / 1.398 GB, free: 9.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/1.122, allocations: 21.55 kB / 1.398 GB, free: 9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/1.122, allocations: 24.84 kB / 1.398 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/1.124, allocations: 0.9037 MB / 1.398 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.126, allocations: 347.4 kB / 1.399 GB, free: 7.695 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.149, allocations: 23.11 MB / 1.421 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/1.151, allocations: 108 kB / 1.421 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/1.151, allocations: 80 kB / 1.422 GB, free: 14.72 MB / 1.154 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.003558/1.155, allocations: 1.618 MB / 1.423 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/1.155, allocations: 214.6 kB / 1.423 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/1.161, allocations: 2.99 MB / 1.426 GB, free: 9.844 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.161, allocations: 7.969 kB / 1.426 GB, free: 9.836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.161, allocations: 3.938 kB / 1.426 GB, free: 9.832 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.162, allocations: 463.6 kB / 1.427 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/1.163, allocations: 35.92 kB / 1.427 GB, free: 9.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000968/1.164, allocations: 63.92 kB / 1.427 GB, free: 9.262 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.164, allocations: 129.1 kB / 1.427 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00637/1.17, allocations: 3.115 MB / 1.43 GB, free: 5.977 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004426/1.175, allocations: 3.283 MB / 1.433 GB, free: 2.672 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001154/1.176, allocations: 0.9548 MB / 1.434 GB, free: 1.719 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001667/1.178, allocations: 0.9756 MB / 1.435 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of Backend: time 3.91e-07/1.178, allocations: 3.938 kB / 1.435 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00731/1.185, allocations: 3.901 MB / 1.439 GB, free: 12.65 MB / 1.17 GB Notification: Performance of SimCode: time 0.01563/1.201, allocations: 8.233 MB / 1.447 GB, free: 4.395 MB / 1.17 GB Notification: Performance of Templates: time 0.07587/1.277, allocations: 42.86 MB / 1.489 GB, free: 9.961 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches