Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001602/0.001602, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002009/0.002009, allocations: 215.5 kB / 23.01 MB, free: 4.566 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.373/3.373, allocations: 0.505 GB / 0.8108 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.002012/0.002012, allocations: 66.64 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00911/0.4394, allocations: 6.418 MB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005873/0.4452, allocations: 3.344 MB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.4457, allocations: 39.62 kB / 1.364 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.4483, allocations: 0.9752 MB / 1.365 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.4495, allocations: 497.5 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.4508, allocations: 0.5047 MB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.4522, allocations: 1.096 MB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000811/0.453, allocations: 0.5217 MB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.4536, allocations: 454.4 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006986/0.4543, allocations: 0.4903 MB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.4544, allocations: 60 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009305/0.4554, allocations: 0.4912 MB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.4557, allocations: 295 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.4561, allocations: 402 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.4575, allocations: 1.187 MB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4575, allocations: 4 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4575, allocations: 0 / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.4576, allocations: 0 / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001777/0.4593, allocations: 1.01 MB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4594, allocations: 12.03 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.4608, allocations: 228.1 kB / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.4619, allocations: 0.5204 MB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.4619, allocations: 45.69 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.462, allocations: 76.23 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.4636, allocations: 1.03 MB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.4636, allocations: 7.938 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.4637, allocations: 27.98 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-05/0.4637, allocations: 69.27 kB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.4649, allocations: 0.6918 MB / 1.374 GB, free: 3.238 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.4707, allocations: 5.666 MB / 1.38 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.4715, allocations: 410.1 kB / 1.38 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008072/0.4723, allocations: 388.6 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.4723, allocations: 7.938 kB / 1.38 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.4724, allocations: 42.5 kB / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.4724, allocations: 0 / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.004308/0.4767, allocations: 1.713 MB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4767, allocations: 55.41 kB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/0.4773, allocations: 466.8 kB / 1.383 GB, free: 10.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.4773, allocations: 29.7 kB / 1.383 GB, free: 9.996 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.4776, allocations: 400.1 kB / 1.383 GB, free: 9.602 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4778, allocations: 162.7 kB / 1.383 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.478, allocations: 106.3 kB / 1.383 GB, free: 9.332 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4782, allocations: 362.8 kB / 1.384 GB, free: 8.969 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.4786, allocations: 245.2 kB / 1.384 GB, free: 8.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.4791, allocations: 453 kB / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4802, allocations: 0.7487 MB / 1.385 GB, free: 7.348 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4802, allocations: 0 / 1.385 GB, free: 7.348 MB / 1.076 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001934/0.4821, allocations: 1.034 MB / 1.386 GB, free: 6.293 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4821, allocations: 8.875 kB / 1.386 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4821, allocations: 8 kB / 1.386 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4832, allocations: 327 kB / 1.386 GB, free: 5.945 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.4835, allocations: 91.83 kB / 1.386 GB, free: 5.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/0.4914, allocations: 7.08 MB / 1.393 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.4919, allocations: 27.98 kB / 1.393 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.4919, allocations: 28 kB / 1.393 GB, free: 14.26 MB / 1.092 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003891/0.4923, allocations: 241.5 kB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4924, allocations: 75.55 kB / 1.394 GB, free: 13.94 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.4942, allocations: 0.8767 MB / 1.395 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4942, allocations: 7.938 kB / 1.395 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.4942, allocations: 4 kB / 1.395 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4942, allocations: 0 / 1.395 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.497, allocations: 1.645 MB / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.497, allocations: 0 / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.4972, allocations: 43.91 kB / 1.396 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009139/0.4981, allocations: 311.1 kB / 1.396 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.4981, allocations: 8 kB / 1.396 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007673/0.5058, allocations: 7.057 MB / 1.403 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.5058, allocations: 3.938 kB / 1.403 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.5076, allocations: 0.9835 MB / 1.404 GB, free: 2.383 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.5079, allocations: 99.53 kB / 1.404 GB, free: 2.285 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.508, allocations: 12 kB / 1.404 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.5082, allocations: 19.97 kB / 1.404 GB, free: 2.254 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5083, allocations: 55.8 kB / 1.405 GB, free: 2.199 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.5084, allocations: 8 kB / 1.405 GB, free: 2.191 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003864/0.5087, allocations: 314.9 kB / 1.405 GB, free: 1.887 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.5087, allocations: 4 kB / 1.405 GB, free: 1.883 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008163/0.5096, allocations: 192 kB / 1.405 GB, free: 1.695 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.5097, allocations: 107.2 kB / 1.405 GB, free: 1.578 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.5116, allocations: 1.148 MB / 1.406 GB, free: 388 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5116, allocations: 0 / 1.406 GB, free: 388 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.5129, allocations: 0.8266 MB / 1.407 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/0.5139, allocations: 213.2 kB / 1.407 GB, free: 15.3 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.5161, allocations: 1.322 MB / 1.409 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.5168, allocations: 0.992 MB / 1.41 GB, free: 12.9 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.777e-05/0.5169, allocations: 35.44 kB / 1.41 GB, free: 12.87 MB / 1.107 GB Notification: Performance of SimCode: time 9.71e-07/0.5169, allocations: 0 / 1.41 GB, free: 12.87 MB / 1.107 GB Notification: Performance of Templates: time 0.0239/0.5408, allocations: 18.73 MB / 1.428 GB, free: 10.17 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.161756632995093]