Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001347/0.001347, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001527/0.001527, allocations: 213.2 kB / 23 MB, free: 4.969 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.264/3.264, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002066/0.002066, allocations: 65.38 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3864, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04483/0.4312, allocations: 33.68 MB / 1.36 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.4505, allocations: 10.03 MB / 1.37 GB, free: 5.137 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.4544, allocations: 190.6 kB / 1.37 GB, free: 4.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.4657, allocations: 3.815 MB / 1.374 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006825/0.4725, allocations: 2.149 MB / 1.376 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/0.4784, allocations: 1.97 MB / 1.378 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.4902, allocations: 7.96 MB / 1.385 GB, free: 5.012 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009275/0.4995, allocations: 5.284 MB / 1.391 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006835/0.5063, allocations: 3.502 MB / 1.394 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007726/0.5141, allocations: 3.937 MB / 1.398 GB, free: 8.145 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002494/0.5166, allocations: 0.6758 MB / 1.399 GB, free: 7.469 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.5213, allocations: 1.361 MB / 1.4 GB, free: 6.105 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004558/0.5258, allocations: 2.677 MB / 1.403 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007104/0.5329, allocations: 2.525 MB / 1.405 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.016/0.5489, allocations: 10.46 MB / 1.415 GB, free: 6.391 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5489, allocations: 0 / 1.415 GB, free: 6.391 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5489, allocations: 0 / 1.415 GB, free: 6.391 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003653/0.5493, allocations: 0 / 1.415 GB, free: 6.391 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0159/0.5652, allocations: 5.459 MB / 1.421 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.5653, allocations: 8.031 kB / 1.421 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.5707, allocations: 0.9928 MB / 1.422 GB, free: 15.86 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00791/0.5786, allocations: 3.136 MB / 1.425 GB, free: 12.66 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.5789, allocations: 357.9 kB / 1.425 GB, free: 12.31 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.5802, allocations: 468.3 kB / 1.425 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.5965, allocations: 8.667 MB / 1.434 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5966, allocations: 23.77 kB / 1.434 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005599/0.5972, allocations: 208 kB / 1.434 GB, free: 2.414 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005507/0.5978, allocations: 369.1 kB / 1.434 GB, free: 2.051 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.6091, allocations: 5.929 MB / 1.44 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.6463, allocations: 22.94 MB / 1.463 GB, free: 4.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.6499, allocations: 1.991 MB / 1.465 GB, free: 2.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.652, allocations: 1.341 MB / 1.466 GB, free: 1.156 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.6521, allocations: 13.31 kB / 1.466 GB, free: 1.141 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.6522, allocations: 59.86 kB / 1.466 GB, free: 1.074 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 4.869e-06/0.6522, allocations: 0 / 1.466 GB, free: 1.074 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01506/0.6672, allocations: 6.64 MB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.6673, allocations: 72.66 kB / 1.472 GB, free: 10.3 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.6699, allocations: 1.709 MB / 1.474 GB, free: 8.559 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.6701, allocations: 53.7 kB / 1.474 GB, free: 8.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.6718, allocations: 2.195 MB / 1.476 GB, free: 6.289 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006248/0.6725, allocations: 0.5926 MB / 1.477 GB, free: 5.691 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000683/0.6732, allocations: 400 kB / 1.477 GB, free: 5.293 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6733, allocations: 305.1 kB / 1.478 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.675, allocations: 1.07 MB / 1.479 GB, free: 3.918 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.6773, allocations: 1.76 MB / 1.48 GB, free: 1.836 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/0.6815, allocations: 3.049 MB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/0.6815, allocations: 8 kB / 1.483 GB, free: 14.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00711/0.6887, allocations: 3.883 MB / 1.487 GB, free: 10.54 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.6887, allocations: 15.94 kB / 1.487 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.6887, allocations: 27.98 kB / 1.487 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/0.6915, allocations: 0.9316 MB / 1.488 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.6932, allocations: 427.2 kB / 1.488 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/0.7166, allocations: 21.13 MB / 1.509 GB, free: 2.754 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.7187, allocations: 119.9 kB / 1.509 GB, free: 2.637 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.7189, allocations: 96 kB / 1.509 GB, free: 2.543 MB / 1.201 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.00342/0.7223, allocations: 1.645 MB / 1.511 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/0.723, allocations: 250.5 kB / 1.511 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005991/0.729, allocations: 3.221 MB / 1.514 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.729, allocations: 7.969 kB / 1.514 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.729, allocations: 0 / 1.514 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/0.7307, allocations: 454.2 kB / 1.515 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.7311, allocations: 28 kB / 1.515 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7321, allocations: 83.89 kB / 1.515 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.7325, allocations: 156.9 kB / 1.515 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007506/0.74, allocations: 3.372 MB / 1.518 GB, free: 9.234 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005698/0.7457, allocations: 3.661 MB / 1.522 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001572/0.7473, allocations: 1.052 MB / 1.523 GB, free: 4.5 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001959/0.7492, allocations: 1.087 MB / 1.524 GB, free: 3.395 MB / 1.217 GB Notification: Performance of Backend: time 5.11e-07/0.7492, allocations: 0 / 1.524 GB, free: 3.395 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008765/0.758, allocations: 3.863 MB / 1.528 GB, free: 15.37 MB / 1.232 GB Notification: Performance of SimCode: time 0.01705/0.775, allocations: 8.69 MB / 1.536 GB, free: 6.617 MB / 1.232 GB Notification: Performance of Templates: time 0.09341/0.8684, allocations: 54.93 MB / 1.59 GB, free: 0.6289 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.61536644899752]