Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 79.42 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 165.6 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 59.91 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4353, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 1.039/1.474, allocations: 31.52 MB / 1.148 GB, free: 46.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01799/1.492, allocations: 10.29 MB / 1.158 GB, free: 40.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004789/1.497, allocations: 198 kB / 1.158 GB, free: 39.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009805/1.506, allocations: 3.737 MB / 1.162 GB, free: 37.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007756/1.514, allocations: 1.943 MB / 1.164 GB, free: 36.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006659/1.521, allocations: 2.149 MB / 1.166 GB, free: 35.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01087/1.532, allocations: 7.33 MB / 1.173 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01396/1.546, allocations: 5.088 MB / 1.178 GB, free: 29.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008306/1.554, allocations: 3.292 MB / 1.181 GB, free: 28.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009861/1.564, allocations: 3.453 MB / 1.185 GB, free: 26.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003955/1.568, allocations: 0.6465 MB / 1.185 GB, free: 26.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008453/1.576, allocations: 1.655 MB / 1.187 GB, free: 26.42 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.008154/1.584, allocations: 2.611 MB / 1.19 GB, free: 25.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01204/1.596, allocations: 2.337 MB / 1.192 GB, free: 23.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02664/1.623, allocations: 10.18 MB / 1.202 GB, free: 20.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.623, allocations: 0 / 1.202 GB, free: 20.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.827e-06/1.623, allocations: 0 / 1.202 GB, free: 20.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0006017/1.624, allocations: 5.156 kB / 1.202 GB, free: 20.76 MB / 1.076 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.02873/1.652, allocations: 5.047 MB / 1.207 GB, free: 17.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.652, allocations: 8.719 kB / 1.207 GB, free: 17.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009957/1.662, allocations: 0.9839 MB / 1.208 GB, free: 17.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/1.674, allocations: 3.003 MB / 1.211 GB, free: 16.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008581/1.675, allocations: 350.8 kB / 1.211 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/1.679, allocations: 468.4 kB / 1.211 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02912/1.708, allocations: 7.972 MB / 1.219 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002161/1.708, allocations: 22.94 kB / 1.219 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007573/1.709, allocations: 204.2 kB / 1.219 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005203/1.71, allocations: 316.5 kB / 1.22 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.727, allocations: 5.699 MB / 1.225 GB, free: 9.844 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04466/1.771, allocations: 21.93 MB / 1.247 GB, free: 10.44 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/1.775, allocations: 1.558 MB / 1.248 GB, free: 9.609 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00247/1.777, allocations: 1.117 MB / 1.249 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.7e-05/1.778, allocations: 14.38 kB / 1.249 GB, free: 9.02 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.479e-05/1.778, allocations: 46.03 kB / 1.249 GB, free: 8.973 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 6.703e-06/1.778, allocations: 0 / 1.249 GB, free: 8.973 MB / 1.092 GB Notification: Performance of matching and sorting (n=136): time 0.01915/1.797, allocations: 6.2 MB / 1.255 GB, free: 5.422 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/1.797, allocations: 74.5 kB / 1.256 GB, free: 5.352 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.8, allocations: 1.401 MB / 1.257 GB, free: 4.574 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.8, allocations: 46.11 kB / 1.257 GB, free: 4.527 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.802, allocations: 2.064 MB / 1.259 GB, free: 2.715 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/1.802, allocations: 0.4998 MB / 1.259 GB, free: 2.273 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/1.803, allocations: 357 kB / 1.26 GB, free: 2.07 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.803, allocations: 302.2 kB / 1.26 GB, free: 1.773 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/1.805, allocations: 0.9102 MB / 1.261 GB, free: 1.301 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/1.807, allocations: 1.59 MB / 1.263 GB, free: 15.93 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.811, allocations: 2.742 MB / 1.265 GB, free: 13.91 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/1.811, allocations: 6.688 kB / 1.265 GB, free: 13.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007381/1.818, allocations: 3.498 MB / 1.269 GB, free: 11.98 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/1.819, allocations: 14.69 kB / 1.269 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/1.819, allocations: 23.41 kB / 1.269 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/1.821, allocations: 0.8978 MB / 1.27 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.823, allocations: 354.7 kB / 1.27 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/1.846, allocations: 21.46 MB / 1.291 GB, free: 6.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.848, allocations: 104 kB / 1.291 GB, free: 6.258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/1.849, allocations: 88 kB / 1.291 GB, free: 6.172 MB / 1.123 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.004183/1.853, allocations: 1.617 MB / 1.293 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006658/1.854, allocations: 202.7 kB / 1.293 GB, free: 4.344 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/1.859, allocations: 2.955 MB / 1.296 GB, free: 1.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/1.859, allocations: 19.94 kB / 1.296 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.859, allocations: 8 kB / 1.296 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.859, allocations: 7.969 kB / 1.296 GB, free: 1.305 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.872, allocations: 6.003 MB / 1.302 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.872, allocations: 4.562 kB / 1.302 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/1.873, allocations: 175.7 kB / 1.302 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/1.875, allocations: 0.8336 MB / 1.303 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/1.875, allocations: 24 kB / 1.303 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/1.897, allocations: 20.33 MB / 1.322 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.897, allocations: 12.06 kB / 1.322 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/1.903, allocations: 3.006 MB / 1.325 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.905, allocations: 374.6 kB / 1.326 GB, free: 1.031 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/1.905, allocations: 35.95 kB / 1.326 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/1.906, allocations: 71.91 kB / 1.326 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/1.906, allocations: 132.6 kB / 1.326 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.906, allocations: 36 kB / 1.326 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001446/1.908, allocations: 0.8904 MB / 1.327 GB, free: 15.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.908, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003855/1.911, allocations: 0.7852 MB / 1.328 GB, free: 15.09 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * 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 {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/1.912, allocations: 143 kB / 1.328 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00663/1.918, allocations: 3.91 MB / 1.332 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.918, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004466/1.923, allocations: 2.674 MB / 1.334 GB, free: 8.051 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.927, allocations: 0.722 MB / 1.335 GB, free: 7.367 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/1.944, allocations: 7.33 MB / 1.342 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.948, allocations: 2.553 MB / 1.345 GB, free: 13.36 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001745/1.95, allocations: 449.2 kB / 1.345 GB, free: 12.91 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.95, allocations: 112.5 kB / 1.345 GB, free: 12.8 MB / 1.186 GB Notification: Performance of SimCode: time 1.423e-06/1.95, allocations: 0 / 1.345 GB, free: 12.8 MB / 1.186 GB Notification: Performance of Templates: time 0.0759/2.026, allocations: 36.34 MB / 1.381 GB, free: 9.234 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.624884190037847]