Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001295/0.001295, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001459/0.001459, allocations: 210.6 kB / 23 MB, free: 4.934 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.234/3.234, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [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.002087/0.002087, allocations: 71.14 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3775, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02852/0.406, allocations: 21.54 MB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4192, allocations: 6.187 MB / 1.354 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.4218, allocations: 123.1 kB / 1.354 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.4266, allocations: 1.57 MB / 1.356 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.4317, allocations: 1.731 MB / 1.358 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.4355, allocations: 1.343 MB / 1.359 GB, free: 420 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008277/0.4438, allocations: 5.928 MB / 1.365 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005963/0.4498, allocations: 3.228 MB / 1.368 GB, free: 7.145 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.4546, allocations: 2.504 MB / 1.37 GB, free: 4.633 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.4599, allocations: 3.065 MB / 1.373 GB, free: 1.559 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.4613, allocations: 456 kB / 1.374 GB, free: 1.113 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.4639, allocations: 1.038 MB / 1.375 GB, free: 76 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002641/0.4666, allocations: 2.081 MB / 1.377 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003577/0.4701, allocations: 1.759 MB / 1.378 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009247/0.4794, allocations: 7.343 MB / 1.386 GB, free: 4.855 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4794, allocations: 0 / 1.386 GB, free: 4.855 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.867e-06/0.4794, allocations: 11.98 kB / 1.386 GB, free: 4.844 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001891/0.4796, allocations: 3.938 kB / 1.386 GB, free: 4.84 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008029/0.4876, allocations: 3.834 MB / 1.389 GB, free: 0.957 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.4877, allocations: 12.03 kB / 1.389 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/0.4938, allocations: 1.227 MB / 1.391 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/0.4993, allocations: 2.305 MB / 1.393 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4995, allocations: 238.4 kB / 1.393 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006932/0.5002, allocations: 323.9 kB / 1.393 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.5119, allocations: 6.442 MB / 1.4 GB, free: 6.055 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-05/0.5119, allocations: 15.88 kB / 1.4 GB, free: 6.039 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.5123, allocations: 136 kB / 1.4 GB, free: 5.906 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005446/0.5129, allocations: 406.3 kB / 1.4 GB, free: 5.508 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009019/0.5219, allocations: 4.658 MB / 1.405 GB, free: 0.8398 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.5518, allocations: 18.08 MB / 1.422 GB, free: 14.26 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.5543, allocations: 1.369 MB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.5564, allocations: 1.437 MB / 1.425 GB, free: 11.44 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.5565, allocations: 16.94 kB / 1.425 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.5565, allocations: 43.56 kB / 1.425 GB, free: 11.38 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 5.821e-06/0.5565, allocations: 0 / 1.425 GB, free: 11.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1397/0.6963, allocations: 37.07 MB / 1.461 GB, free: 6.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.6963, allocations: 69.41 kB / 1.461 GB, free: 6.168 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.6986, allocations: 1.356 MB / 1.463 GB, free: 4.801 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000297/0.6989, allocations: 53.7 kB / 1.463 GB, free: 4.742 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.7002, allocations: 1.59 MB / 1.464 GB, free: 3.137 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00086/0.7011, allocations: 0.6429 MB / 1.465 GB, free: 2.488 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000873/0.7019, allocations: 383.5 kB / 1.465 GB, free: 2.105 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7021, allocations: 305.1 kB / 1.466 GB, free: 1.805 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.7047, allocations: 1.788 MB / 1.467 GB, free: 12 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.7081, allocations: 2.35 MB / 1.47 GB, free: 13.41 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006195/0.7143, allocations: 4.387 MB / 1.474 GB, free: 8.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.7143, allocations: 8 kB / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01862/0.7329, allocations: 8.424 MB / 1.482 GB, free: 324 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.733, allocations: 15.94 kB / 1.482 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.733, allocations: 16 kB / 1.482 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01581/0.7488, allocations: 4.606 MB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.7501, allocations: 311.4 kB / 1.487 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04988/0.7999, allocations: 31.43 MB / 1.518 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.8024, allocations: 148.1 kB / 1.518 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/0.8028, allocations: 87.94 kB / 1.518 GB, free: 11.08 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002775/0.8055, allocations: 1.326 MB / 1.519 GB, free: 9.742 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005064/0.806, allocations: 198.8 kB / 1.519 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/0.8241, allocations: 8.289 MB / 1.528 GB, free: 1.211 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/0.8241, allocations: 15.91 kB / 1.528 GB, free: 1.195 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8241, allocations: 0 / 1.528 GB, free: 1.195 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/0.8262, allocations: 0.5492 MB / 1.528 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.8266, allocations: 28 kB / 1.528 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8279, allocations: 123.8 kB / 1.528 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007074/0.8286, allocations: 305.3 kB / 1.529 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01667/0.8452, allocations: 7.233 MB / 1.536 GB, free: 8.934 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008781/0.854, allocations: 6.12 MB / 1.542 GB, free: 2.781 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002498/0.8565, allocations: 1.787 MB / 1.543 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001355/0.8579, allocations: 0.8976 MB / 1.544 GB, free: 104 kB / 1.232 GB Notification: Performance of Backend: time 2.5e-07/0.8579, allocations: 0 / 1.544 GB, free: 104 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0123/0.8702, allocations: 5.005 MB / 1.549 GB, free: 11 MB / 1.248 GB Notification: Performance of SimCode: time 0.01299/0.8832, allocations: 7.534 MB / 1.556 GB, free: 3.445 MB / 1.248 GB Notification: Performance of Templates: time 0.8828/1.766, allocations: 65.04 MB / 1.62 GB, free: 261 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.616600340996229]