Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001456/0.001456, allocations: 107.8 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.001874/0.001874, allocations: 216.9 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.531/1.531, 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.417/3.417, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [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.00203/0.00203, allocations: 69.7 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, 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.ACLine_N): time 0.0414/0.4378, allocations: 31.71 MB / 1.358 GB, free: 1.188 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02534/0.4631, allocations: 14.47 MB / 1.372 GB, free: 2.684 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/0.467, allocations: 210.4 kB / 1.372 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.4774, allocations: 3.667 MB / 1.376 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009604/0.487, allocations: 2.976 MB / 1.379 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007885/0.4949, allocations: 2.344 MB / 1.381 GB, free: 9.465 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01428/0.5091, allocations: 8.816 MB / 1.39 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009953/0.5191, allocations: 5.549 MB / 1.395 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008149/0.5272, allocations: 4.223 MB / 1.399 GB, free: 6.711 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007405/0.5346, allocations: 4.186 MB / 1.403 GB, free: 2.512 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002225/0.5369, allocations: 0.7109 MB / 1.404 GB, free: 1.801 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/0.5414, allocations: 1.627 MB / 1.406 GB, free: 176 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004438/0.5458, allocations: 2.883 MB / 1.409 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006507/0.5523, allocations: 2.747 MB / 1.411 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.5683, allocations: 11.25 MB / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5683, allocations: 0 / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5683, allocations: 0 / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003335/0.5687, allocations: 0 / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0161/0.5848, allocations: 6.033 MB / 1.428 GB, free: 9.137 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5848, allocations: 12.03 kB / 1.428 GB, free: 9.125 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007605/0.5924, allocations: 1.168 MB / 1.429 GB, free: 7.953 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009601/0.602, allocations: 3.446 MB / 1.433 GB, free: 4.418 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/0.6025, allocations: 374.4 kB / 1.433 GB, free: 4.051 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/0.6047, allocations: 0.4961 MB / 1.433 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.6241, allocations: 8.701 MB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.6242, allocations: 23.84 kB / 1.442 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005936/0.6248, allocations: 216 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/0.6259, allocations: 437.5 kB / 1.443 GB, free: 9.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.6384, allocations: 6.069 MB / 1.448 GB, free: 3.668 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04138/0.6798, allocations: 21.23 MB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.683, allocations: 1.909 MB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.6858, allocations: 1.752 MB / 1.473 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.6859, allocations: 25.88 kB / 1.473 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.859e-05/0.686, allocations: 56.56 kB / 1.473 GB, free: 10.19 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.659e-06/0.686, allocations: 0 / 1.473 GB, free: 10.19 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1604/0.8464, allocations: 38.67 MB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.8465, allocations: 77.58 kB / 1.511 GB, free: 3.375 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.8507, allocations: 2.043 MB / 1.513 GB, free: 1.312 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005902/0.8513, allocations: 77.64 kB / 1.513 GB, free: 1.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00208/0.8533, allocations: 2.348 MB / 1.515 GB, free: 14.86 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001513/0.8548, allocations: 0.9799 MB / 1.516 GB, free: 13.87 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.8564, allocations: 0.5064 MB / 1.517 GB, free: 13.35 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8565, allocations: 309.1 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/0.8599, allocations: 1.973 MB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.8638, allocations: 2.602 MB / 1.521 GB, free: 8.223 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00768/0.8715, allocations: 4.925 MB / 1.526 GB, free: 3.023 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/0.8715, allocations: 4 kB / 1.526 GB, free: 3.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0172/0.8887, allocations: 7.63 MB / 1.534 GB, free: 11.32 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.8887, allocations: 12 kB / 1.534 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-05/0.8888, allocations: 16 kB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.8996, allocations: 3.213 MB / 1.537 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.9017, allocations: 395.3 kB / 1.537 GB, free: 7.68 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05137/0.9531, allocations: 32.57 MB / 1.569 GB, free: 6.492 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/0.9564, allocations: 163.8 kB / 1.569 GB, free: 6.332 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000604/0.957, allocations: 108 kB / 1.569 GB, free: 6.227 MB / 1.264 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004085/0.9611, allocations: 1.805 MB / 1.571 GB, free: 4.41 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/0.9621, allocations: 318.1 kB / 1.571 GB, free: 4.098 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/0.9782, allocations: 7.221 MB / 1.578 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.063e-05/0.9782, allocations: 15.94 kB / 1.578 GB, free: 12.78 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9783, allocations: 3.938 kB / 1.578 GB, free: 12.77 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002703/0.981, allocations: 0.7166 MB / 1.579 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/0.9819, allocations: 51.88 kB / 1.579 GB, free: 12 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/0.9841, allocations: 135.8 kB / 1.579 GB, free: 11.87 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.9849, allocations: 345.4 kB / 1.58 GB, free: 11.53 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01974/1.005, allocations: 7.925 MB / 1.587 GB, free: 3.535 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0114/1.016, allocations: 6.968 MB / 1.594 GB, free: 12.49 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003441/1.02, allocations: 2.191 MB / 1.596 GB, free: 10.28 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002597/1.022, allocations: 1.338 MB / 1.598 GB, free: 8.934 MB / 1.295 GB Notification: Performance of Backend: time 4.41e-07/1.022, allocations: 0 / 1.598 GB, free: 8.934 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.037, allocations: 5.53 MB / 1.603 GB, free: 3.309 MB / 1.295 GB Notification: Performance of SimCode: time 0.7335/1.771, allocations: 11.41 MB / 1.614 GB, free: 254.1 MB / 1.295 GB Notification: Performance of Templates: time 0.1218/1.893, allocations: 90.29 MB / 1.702 GB, free: 194.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 12.570792061000247]