Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001256/0.001256, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9132, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01896/0.9322, allocations: 14.78 MB / 1.103 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.9514, allocations: 10.34 MB / 1.113 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.9541, allocations: 61.28 kB / 1.113 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005255/0.9594, allocations: 1.69 MB / 1.115 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007942/0.9674, allocations: 1.862 MB / 1.117 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.9706, allocations: 0.7528 MB / 1.117 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006356/0.977, allocations: 2.758 MB / 1.12 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.9802, allocations: 1.419 MB / 1.121 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.9839, allocations: 1.533 MB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.9869, allocations: 1.161 MB / 1.124 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007988/0.9878, allocations: 161.4 kB / 1.124 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.9906, allocations: 0.7811 MB / 1.125 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.9921, allocations: 0.6073 MB / 1.126 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.995, allocations: 0.961 MB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006658/1.002, allocations: 2.759 MB / 1.129 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.002, allocations: 9.094 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.234e-06/1.002, allocations: 0 / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001314/1.002, allocations: 0 / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007935/1.01, allocations: 2.175 MB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/1.01, allocations: 9.25 kB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/1.023, allocations: 2.11 MB / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/1.027, allocations: 1.303 MB / 1.135 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/1.028, allocations: 85.12 kB / 1.135 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/1.028, allocations: 128 kB / 1.135 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007151/1.035, allocations: 2.668 MB / 1.138 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/1.035, allocations: 12.3 kB / 1.138 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/1.035, allocations: 57.75 kB / 1.138 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007409/1.036, allocations: 195 kB / 1.138 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009014/1.045, allocations: 2.793 MB / 1.141 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/1.063, allocations: 10.46 MB / 1.151 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007128/1.071, allocations: 2.335 MB / 1.153 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/1.074, allocations: 1.276 MB / 1.154 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/1.074, allocations: 17.97 kB / 1.154 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.074, allocations: 43.44 kB / 1.154 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=89): time 3.267e-06/1.074, allocations: 1.156 kB / 1.154 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153): time 0.06635/1.141, allocations: 16.5 MB / 1.17 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.141, allocations: 70.92 kB / 1.171 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/1.144, allocations: 1.17 MB / 1.172 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000422/1.144, allocations: 50.67 kB / 1.172 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/1.145, allocations: 0.7403 MB / 1.172 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009052/1.146, allocations: 0.5171 MB / 1.173 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009033/1.147, allocations: 288.2 kB / 1.173 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.147, allocations: 305.1 kB / 1.173 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/1.151, allocations: 1.506 MB / 1.175 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.155, allocations: 1.777 MB / 1.177 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008027/1.163, allocations: 3.367 MB / 1.18 GB, free: 15.35 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.163, allocations: 4 kB / 1.18 GB, free: 15.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01463/1.178, allocations: 5.28 MB / 1.185 GB, free: 10.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/1.178, allocations: 8 kB / 1.185 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.178, allocations: 8 kB / 1.185 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007251/1.185, allocations: 1.879 MB / 1.187 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/1.188, allocations: 415.2 kB / 1.187 GB, free: 7.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03154/1.219, allocations: 24.14 MB / 1.211 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.223, allocations: 303.5 kB / 1.211 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/1.223, allocations: 67.95 kB / 1.211 GB, free: 14.08 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001631/1.225, allocations: 475.6 kB / 1.212 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008453/1.226, allocations: 173.9 kB / 1.212 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.241, allocations: 5.32 MB / 1.217 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/1.241, allocations: 7.969 kB / 1.217 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.241, allocations: 0 / 1.217 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.243, allocations: 0.5026 MB / 1.218 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008239/1.243, allocations: 28 kB / 1.218 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/1.246, allocations: 295.5 kB / 1.218 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006215/1.247, allocations: 196.9 kB / 1.218 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01748/1.265, allocations: 5.605 MB / 1.224 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01271/1.277, allocations: 5.213 MB / 1.229 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003882/1.281, allocations: 1.653 MB / 1.23 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001523/1.283, allocations: 0.7899 MB / 1.231 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of Backend: time 3.7e-07/1.283, allocations: 0 / 1.231 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.295, allocations: 4.228 MB / 1.235 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of SimCode: time 0.009648/1.305, allocations: 4.745 MB / 1.24 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of Templates: time 0.07997/1.385, allocations: 50.16 MB / 1.289 GB, free: 14.89 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches