Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.002163/0.002163, allocations: 107.5 kB / 16.45 MB, free: 6.453 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.002505/0.002505, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.4899 GB / 0.7915 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.003502/0.003502, allocations: 75.17 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4787, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02507/0.5038, allocations: 14.26 MB / 1.335 GB, free: 4.516 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.5216, allocations: 9.539 MB / 1.344 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.5241, allocations: 87.19 kB / 1.345 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004987/0.5291, allocations: 1.695 MB / 1.346 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.5342, allocations: 1.585 MB / 1.348 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.5365, allocations: 0.7504 MB / 1.349 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004107/0.5406, allocations: 2.532 MB / 1.351 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.5425, allocations: 1.118 MB / 1.352 GB, free: 3.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.5449, allocations: 1.207 MB / 1.353 GB, free: 1.918 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.5469, allocations: 1.132 MB / 1.354 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.5471, allocations: 160 kB / 1.355 GB, free: 0.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.5489, allocations: 0.8111 MB / 1.355 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.5496, allocations: 0.6153 MB / 1.356 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.5507, allocations: 0.9329 MB / 1.357 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.5544, allocations: 2.736 MB / 1.359 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5544, allocations: 0 / 1.359 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5544, allocations: 0 / 1.359 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.277e-05/0.5544, allocations: 0 / 1.359 GB, free: 11.51 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004436/0.5589, allocations: 2.178 MB / 1.362 GB, free: 9.277 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5589, allocations: 15.97 kB / 1.362 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.5713, allocations: 2.098 MB / 1.364 GB, free: 7.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.5741, allocations: 1.268 MB / 1.365 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.5742, allocations: 90.73 kB / 1.365 GB, free: 5.746 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.5745, allocations: 120.1 kB / 1.365 GB, free: 5.629 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/0.5811, allocations: 2.638 MB / 1.368 GB, free: 2.855 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/0.5811, allocations: 7.938 kB / 1.368 GB, free: 2.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.5813, allocations: 51.98 kB / 1.368 GB, free: 2.797 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007429/0.582, allocations: 178.1 kB / 1.368 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008542/0.5906, allocations: 2.799 MB / 1.371 GB, free: 15.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.6076, allocations: 10.48 MB / 1.381 GB, free: 4.746 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00741/0.615, allocations: 2.439 MB / 1.383 GB, free: 2.246 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/0.6186, allocations: 1.221 MB / 1.384 GB, free: 1.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.6187, allocations: 13 kB / 1.384 GB, free: 1.008 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.159e-05/0.6187, allocations: 39.56 kB / 1.385 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.687e-06/0.6187, allocations: 0 / 1.385 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.05165/0.6704, allocations: 13.35 MB / 1.398 GB, free: 3.402 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.6705, allocations: 68.66 kB / 1.398 GB, free: 3.324 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.6724, allocations: 1.121 MB / 1.399 GB, free: 2.188 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.6726, allocations: 45.7 kB / 1.399 GB, free: 2.137 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.6732, allocations: 0.7248 MB / 1.399 GB, free: 1.406 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/0.6738, allocations: 475.9 kB / 1.4 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/0.6744, allocations: 263.5 kB / 1.4 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.6746, allocations: 361.9 kB / 1.401 GB, free: 320 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/0.6783, allocations: 1.342 MB / 1.402 GB, free: 14.97 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/0.6822, allocations: 1.604 MB / 1.403 GB, free: 13.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007628/0.6898, allocations: 2.987 MB / 1.406 GB, free: 10.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.6899, allocations: 4 kB / 1.406 GB, free: 10.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01305/0.7029, allocations: 4.404 MB / 1.411 GB, free: 5.723 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.7029, allocations: 8 kB / 1.411 GB, free: 5.715 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.703, allocations: 8 kB / 1.411 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.7087, allocations: 1.428 MB / 1.412 GB, free: 4.238 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/0.711, allocations: 443.1 kB / 1.412 GB, free: 3.805 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03325/0.7442, allocations: 26.69 MB / 1.439 GB, free: 7.273 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.7472, allocations: 299.5 kB / 1.439 GB, free: 6.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.7475, allocations: 63.91 kB / 1.439 GB, free: 6.918 MB / 1.139 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009931/0.7484, allocations: 434.2 kB / 1.439 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.7488, allocations: 174.9 kB / 1.439 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.762, allocations: 4.402 MB / 1.444 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.762, allocations: 15.94 kB / 1.444 GB, free: 1.84 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/0.7621, allocations: 24 kB / 1.444 GB, free: 1.816 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.7621, allocations: 3.984 kB / 1.444 GB, free: 1.812 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.7798, allocations: 6.729 MB / 1.45 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.7798, allocations: 0 / 1.45 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.7819, allocations: 387.3 kB / 1.451 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005396/0.7873, allocations: 1.307 MB / 1.452 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/0.7875, allocations: 39.97 kB / 1.452 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/0.818, allocations: 25.51 MB / 1.477 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.818, allocations: 12.16 kB / 1.477 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.8301, allocations: 4.156 MB / 1.481 GB, free: 9.555 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.8313, allocations: 467.8 kB / 1.481 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.8315, allocations: 28 kB / 1.481 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/0.8337, allocations: 307.5 kB / 1.482 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/0.8342, allocations: 128.7 kB / 1.482 GB, free: 8.625 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8344, allocations: 47.97 kB / 1.482 GB, free: 8.578 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001344/0.8357, allocations: 0.7564 MB / 1.483 GB, free: 7.82 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.8357, allocations: 0 / 1.483 GB, free: 7.82 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00236/0.8381, allocations: 0.5664 MB / 1.483 GB, free: 7.254 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/0.8384, allocations: 139.7 kB / 1.483 GB, free: 7.109 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.851, allocations: 4.97 MB / 1.488 GB, free: 1.965 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.851, allocations: 0 / 1.488 GB, free: 1.965 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007734/0.8587, allocations: 3.429 MB / 1.492 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.8616, allocations: 0.5528 MB / 1.492 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.871, allocations: 4.048 MB / 1.496 GB, free: 9.723 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.8726, allocations: 1.466 MB / 1.497 GB, free: 8.227 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00163/0.8742, allocations: 433.6 kB / 1.498 GB, free: 7.797 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.8747, allocations: 111.4 kB / 1.498 GB, free: 7.688 MB / 1.201 GB Notification: Performance of SimCode: time 1.112e-06/0.8747, allocations: 0 / 1.498 GB, free: 7.688 MB / 1.201 GB Notification: Performance of Templates: time 0.07611/0.9508, allocations: 39.7 MB / 1.537 GB, free: 432 kB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 10.725051430985332]