Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.00166/0.00166, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001728/0.001728, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.789 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.385/3.385, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.0032/0.0032, allocations: 68.84 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4359, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009658/0.4456, allocations: 6.554 MB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00564/0.4512, allocations: 3.079 MB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.4516, allocations: 35.69 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.4542, allocations: 0.9492 MB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.4554, allocations: 0.5206 MB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.4565, allocations: 451 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.4579, allocations: 1.229 MB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.4587, allocations: 0.5334 MB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.4594, allocations: 494.3 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009443/0.4604, allocations: 0.5174 MB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4605, allocations: 68 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.4613, allocations: 339.3 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.4619, allocations: 315.1 kB / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.4623, allocations: 374.2 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.4639, allocations: 1.245 MB / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4639, allocations: 0 / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4639, allocations: 0 / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.4639, allocations: 0 / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002254/0.4662, allocations: 1.119 MB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.4662, allocations: 12.08 kB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.4678, allocations: 240.1 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.469, allocations: 0.5399 MB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.4691, allocations: 45.67 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.4693, allocations: 64.38 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4711, allocations: 1.336 MB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.4711, allocations: 11.89 kB / 1.345 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.4712, allocations: 28 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.4714, allocations: 85.25 kB / 1.345 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4725, allocations: 0.7504 MB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.478, allocations: 4.538 MB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4791, allocations: 0.5078 MB / 1.351 GB, free: 7.492 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.4795, allocations: 286 kB / 1.351 GB, free: 7.211 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.4795, allocations: 8.438 kB / 1.351 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.4796, allocations: 42.98 kB / 1.351 GB, free: 7.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.4796, allocations: 0 / 1.351 GB, free: 7.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003947/0.4835, allocations: 1.675 MB / 1.353 GB, free: 5.461 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.4836, allocations: 59.84 kB / 1.353 GB, free: 5.387 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.4842, allocations: 0.5184 MB / 1.353 GB, free: 4.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.4843, allocations: 29.7 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.4846, allocations: 427.9 kB / 1.354 GB, free: 4.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.4848, allocations: 186.4 kB / 1.354 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.485, allocations: 130.6 kB / 1.354 GB, free: 4.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4852, allocations: 370.7 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.4857, allocations: 273.8 kB / 1.355 GB, free: 3.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.4863, allocations: 497.4 kB / 1.355 GB, free: 2.863 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.4875, allocations: 0.8045 MB / 1.356 GB, free: 1.969 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.4875, allocations: 7.984 kB / 1.356 GB, free: 1.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001993/0.4895, allocations: 1.07 MB / 1.357 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4895, allocations: 11.94 kB / 1.357 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4895, allocations: 12.09 kB / 1.357 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/0.4904, allocations: 279.1 kB / 1.357 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.4909, allocations: 123.8 kB / 1.357 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007644/0.4986, allocations: 6.606 MB / 1.364 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.4992, allocations: 35.97 kB / 1.364 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.4993, allocations: 32 kB / 1.364 GB, free: 9.348 MB / 1.061 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004205/0.4997, allocations: 246.5 kB / 1.364 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.4998, allocations: 75.64 kB / 1.364 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.5015, allocations: 0.8725 MB / 1.365 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5015, allocations: 4 kB / 1.365 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5015, allocations: 4 kB / 1.365 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5016, allocations: 3.984 kB / 1.365 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.5043, allocations: 1.525 MB / 1.367 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.5043, allocations: 4 kB / 1.367 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.5046, allocations: 67.88 kB / 1.367 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/0.5054, allocations: 263.4 kB / 1.367 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.5054, allocations: 7.938 kB / 1.367 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007327/0.5128, allocations: 6.59 MB / 1.373 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5128, allocations: 4.031 kB / 1.373 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.5145, allocations: 0.9764 MB / 1.374 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.5148, allocations: 111.5 kB / 1.374 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.515, allocations: 15.94 kB / 1.374 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.5153, allocations: 23.97 kB / 1.374 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.5155, allocations: 51.84 kB / 1.375 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.5155, allocations: 16 kB / 1.375 GB, free: 13.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004564/0.5159, allocations: 342.8 kB / 1.375 GB, free: 13.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5159, allocations: 4 kB / 1.375 GB, free: 13.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008881/0.5168, allocations: 224 kB / 1.375 GB, free: 13.38 MB / 1.076 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.517, allocations: 119.2 kB / 1.375 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.5192, allocations: 1.24 MB / 1.376 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5192, allocations: 0 / 1.376 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5206, allocations: 0.8658 MB / 1.377 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5216, allocations: 195.5 kB / 1.377 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.5243, allocations: 1.358 MB / 1.379 GB, free: 9.457 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.5248, allocations: 416.8 kB / 1.379 GB, free: 9.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004151/0.5252, allocations: 121.5 kB / 1.379 GB, free: 8.898 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5254, allocations: 39.44 kB / 1.379 GB, free: 8.863 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.5254, allocations: 0 / 1.379 GB, free: 8.863 MB / 1.076 GB Notification: Performance of Templates: time 0.02193/0.5473, allocations: 12.31 MB / 1.391 GB, free: 12.79 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 9.874146223068237]