Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.00175/0.00175, allocations: 187 kB / 17.34 MB, free: 5.762 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 67.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9785, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04204/1.021, allocations: 37.59 MB / 1.245 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02861/1.049, allocations: 13.04 MB / 1.258 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005678/1.055, allocations: 171.1 kB / 1.258 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01163/1.067, allocations: 3.872 MB / 1.262 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008851/1.076, allocations: 2.491 MB / 1.264 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008912/1.085, allocations: 2.705 MB / 1.267 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01534/1.1, allocations: 9.567 MB / 1.276 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01937/1.119, allocations: 10.5 MB / 1.287 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/1.13, allocations: 4.066 MB / 1.29 GB, free: 9.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/1.14, allocations: 4.385 MB / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004063/1.144, allocations: 0.7695 MB / 1.296 GB, free: 4.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007608/1.152, allocations: 1.783 MB / 1.297 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006878/1.159, allocations: 3.037 MB / 1.3 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01173/1.171, allocations: 3.587 MB / 1.304 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01775/1.189, allocations: 11.85 MB / 1.315 GB, free: 15.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.189, allocations: 0 / 1.315 GB, free: 15.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.174e-06/1.189, allocations: 4 kB / 1.315 GB, free: 15.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004497/1.189, allocations: 4 kB / 1.315 GB, free: 15.83 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02108/1.21, allocations: 6.366 MB / 1.322 GB, free: 9.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.21, allocations: 8.031 kB / 1.322 GB, free: 9.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.22, allocations: 1.293 MB / 1.323 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0091/1.229, allocations: 3.794 MB / 1.326 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005053/1.23, allocations: 378.5 kB / 1.327 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002376/1.232, allocations: 0.4924 MB / 1.327 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/1.256, allocations: 8.89 MB / 1.336 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003126/1.256, allocations: 27.72 kB / 1.336 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001947/1.258, allocations: 220 kB / 1.336 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002666/1.261, allocations: 0.6343 MB / 1.337 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/1.277, allocations: 7.014 MB / 1.344 GB, free: 2.199 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06384/1.341, allocations: 40.05 MB / 1.383 GB, free: 6.914 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00522/1.346, allocations: 2.89 MB / 1.386 GB, free: 4.012 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/1.351, allocations: 2.671 MB / 1.388 GB, free: 1.332 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/1.352, allocations: 26.09 kB / 1.388 GB, free: 1.305 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/1.352, allocations: 72.59 kB / 1.388 GB, free: 1.223 MB / 1.107 GB Notification: Performance of pre-optimization done (n=265): time 5.451e-06/1.352, allocations: 0 / 1.388 GB, free: 1.223 MB / 1.107 GB Notification: Performance of matching and sorting (n=424): time 0.3204/1.672, allocations: 74.69 MB / 1.461 GB, free: 5.871 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/1.672, allocations: 98.67 kB / 1.461 GB, free: 5.762 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/1.676, allocations: 2.363 MB / 1.464 GB, free: 3.387 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.677, allocations: 97.7 kB / 1.464 GB, free: 3.285 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.679, allocations: 2.333 MB / 1.466 GB, free: 0.9297 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.681, allocations: 1.44 MB / 1.467 GB, free: 15.47 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/1.684, allocations: 0.7215 MB / 1.468 GB, free: 14.73 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.684, allocations: 305.1 kB / 1.468 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/1.689, allocations: 2.999 MB / 1.471 GB, free: 11.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005805/1.695, allocations: 3.843 MB / 1.475 GB, free: 7.25 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/1.708, allocations: 7.391 MB / 1.482 GB, free: 15.54 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.873e-05/1.708, allocations: 4 kB / 1.482 GB, free: 15.53 MB / 1.217 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03488/1.743, allocations: 12.56 MB / 1.495 GB, free: 2.867 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/1.743, allocations: 12.94 kB / 1.495 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/1.743, allocations: 24 kB / 1.495 GB, free: 2.832 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02359/1.766, allocations: 6.029 MB / 1.501 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.769, allocations: 495.2 kB / 1.501 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7385/2.507, allocations: 72.98 MB / 1.572 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/2.512, allocations: 215.8 kB / 1.573 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/2.513, allocations: 156.3 kB / 1.573 GB, free: 306.4 MB / 1.279 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004821/2.518, allocations: 1.997 MB / 1.575 GB, free: 306.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/2.519, allocations: 392.6 kB / 1.575 GB, free: 306.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/2.549, allocations: 12.23 MB / 1.587 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/2.549, allocations: 42.22 kB / 1.587 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002101/2.55, allocations: 47.12 kB / 1.587 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.29e-05/2.55, allocations: 29.84 kB / 1.587 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03871/2.588, allocations: 19.14 MB / 1.606 GB, free: 294.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.654e-05/2.588, allocations: 7.469 kB / 1.606 GB, free: 294.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/2.59, allocations: 285.6 kB / 1.606 GB, free: 294.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01999/2.61, allocations: 5.576 MB / 1.611 GB, free: 293 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009398/2.611, allocations: 82.44 kB / 1.612 GB, free: 292.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06727/2.678, allocations: 70.61 MB / 1.68 GB, free: 222.7 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/2.678, allocations: 11.94 kB / 1.68 GB, free: 222.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.029/2.707, allocations: 15.62 MB / 1.696 GB, free: 206.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/2.711, allocations: 1.039 MB / 1.697 GB, free: 205.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001637/2.712, allocations: 83.98 kB / 1.697 GB, free: 205.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/2.716, allocations: 215.7 kB / 1.697 GB, free: 205.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/2.718, allocations: 406.3 kB / 1.697 GB, free: 205.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007258/2.719, allocations: 112 kB / 1.698 GB, free: 205 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00273/2.722, allocations: 1.553 MB / 1.699 GB, free: 203.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.2e-07/2.722, allocations: 0 / 1.699 GB, free: 203.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008027/2.73, allocations: 1.863 MB / 1.701 GB, free: 201.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/2.731, allocations: 218.7 kB / 1.701 GB, free: 201.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02073/2.752, allocations: 12.2 MB / 1.713 GB, free: 188.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/2.752, allocations: 5 kB / 1.713 GB, free: 188.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/2.766, allocations: 8.356 MB / 1.721 GB, free: 180.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008013/2.774, allocations: 1.193 MB / 1.722 GB, free: 179 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/2.806, allocations: 12.93 MB / 1.735 GB, free: 166.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007609/2.813, allocations: 4.159 MB / 1.739 GB, free: 161.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/2.815, allocations: 203.4 kB / 1.739 GB, free: 161.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.432e-06/2.815, allocations: 0 / 1.739 GB, free: 161.7 MB / 1.279 GB Notification: Performance of Templates: time 1.498/4.312, allocations: 0.7441 GB / 2.483 GB, free: 209.3 MB / 1.514 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches