Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001352/0.001352, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001481/0.001481, allocations: 218.7 kB / 23.01 MB, free: 4.605 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.249/3.249, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLineMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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.0033/0.0033, allocations: 67.5 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3847, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01964/0.4044, allocations: 15.34 MB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.4228, allocations: 10.76 MB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.4247, allocations: 87.19 kB / 1.38 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.4296, allocations: 1.769 MB / 1.381 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.4357, allocations: 1.863 MB / 1.383 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4379, allocations: 0.7635 MB / 1.384 GB, free: 9.309 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004568/0.4425, allocations: 2.751 MB / 1.387 GB, free: 6.547 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.4444, allocations: 1.207 MB / 1.388 GB, free: 5.305 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.4474, allocations: 1.719 MB / 1.39 GB, free: 3.582 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.4493, allocations: 1.117 MB / 1.391 GB, free: 2.461 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.4495, allocations: 156 kB / 1.391 GB, free: 2.309 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.4513, allocations: 0.7993 MB / 1.392 GB, free: 1.508 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006446/0.4519, allocations: 0.6113 MB / 1.392 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.4531, allocations: 0.9446 MB / 1.393 GB, free: 15.94 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.4568, allocations: 2.743 MB / 1.396 GB, free: 13.19 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4568, allocations: 4 kB / 1.396 GB, free: 13.19 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4568, allocations: 0 / 1.396 GB, free: 13.19 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.564e-05/0.4568, allocations: 0 / 1.396 GB, free: 13.19 MB / 1.092 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.004382/0.4612, allocations: 2.147 MB / 1.398 GB, free: 11 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4613, allocations: 16.03 kB / 1.398 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.4727, allocations: 2.113 MB / 1.4 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.4756, allocations: 1.193 MB / 1.401 GB, free: 7.625 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.4757, allocations: 90.67 kB / 1.401 GB, free: 7.535 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/0.476, allocations: 116.1 kB / 1.401 GB, free: 7.422 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005845/0.4818, allocations: 2.63 MB / 1.404 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.4819, allocations: 11.89 kB / 1.404 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.482, allocations: 59.98 kB / 1.404 GB, free: 4.586 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006469/0.4827, allocations: 194.1 kB / 1.404 GB, free: 4.395 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007471/0.4902, allocations: 2.787 MB / 1.407 GB, free: 1.598 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.5064, allocations: 10.36 MB / 1.417 GB, free: 6.664 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.5129, allocations: 2.187 MB / 1.419 GB, free: 4.473 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.5161, allocations: 1.195 MB / 1.42 GB, free: 3.277 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.5162, allocations: 13 kB / 1.42 GB, free: 3.262 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.5162, allocations: 51.55 kB / 1.42 GB, free: 3.203 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 3.567e-06/0.5162, allocations: 0 / 1.42 GB, free: 3.203 MB / 1.107 GB Notification: Performance of matching and sorting (n=153): time 0.05984/0.576, allocations: 15.98 MB / 1.436 GB, free: 3.176 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.5761, allocations: 68.72 kB / 1.436 GB, free: 3.094 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5779, allocations: 1.18 MB / 1.437 GB, free: 1.902 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.5782, allocations: 49.7 kB / 1.437 GB, free: 1.848 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/0.5789, allocations: 0.7568 MB / 1.438 GB, free: 1.086 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/0.5794, allocations: 0.5461 MB / 1.438 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005703/0.58, allocations: 287.5 kB / 1.439 GB, free: 252 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5802, allocations: 309 kB / 1.439 GB, free: 15.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/0.5838, allocations: 1.51 MB / 1.44 GB, free: 14.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/0.5876, allocations: 1.784 MB / 1.442 GB, free: 12.55 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007512/0.5951, allocations: 3.369 MB / 1.446 GB, free: 9.086 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.5951, allocations: 4 kB / 1.446 GB, free: 9.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01393/0.6091, allocations: 5.214 MB / 1.451 GB, free: 3.828 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.6091, allocations: 10.66 kB / 1.451 GB, free: 3.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.6091, allocations: 8.844 kB / 1.451 GB, free: 3.812 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007113/0.6162, allocations: 1.874 MB / 1.452 GB, free: 1.914 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.6183, allocations: 411.3 kB / 1.453 GB, free: 1.512 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03211/0.6504, allocations: 23.34 MB / 1.476 GB, free: 9.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.6532, allocations: 307.5 kB / 1.476 GB, free: 8.969 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.6534, allocations: 64.03 kB / 1.476 GB, free: 8.906 MB / 1.17 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009756/0.6543, allocations: 469.4 kB / 1.476 GB, free: 8.438 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.6547, allocations: 182.9 kB / 1.477 GB, free: 8.258 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.6688, allocations: 5.249 MB / 1.482 GB, free: 2.961 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.6688, allocations: 16 kB / 1.482 GB, free: 2.945 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-05/0.6689, allocations: 20 kB / 1.482 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.6689, allocations: 16.38 kB / 1.482 GB, free: 2.91 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.6868, allocations: 7.324 MB / 1.489 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6868, allocations: 0 / 1.489 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.6885, allocations: 351.4 kB / 1.489 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006241/0.6948, allocations: 1.705 MB / 1.491 GB, free: 9.395 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.6949, allocations: 39.97 kB / 1.491 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03067/0.7256, allocations: 22.52 MB / 1.513 GB, free: 1.926 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7256, allocations: 4.031 kB / 1.513 GB, free: 1.922 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.7386, allocations: 4.833 MB / 1.518 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.7399, allocations: 430.6 kB / 1.518 GB, free: 12.58 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.7402, allocations: 28 kB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/0.7423, allocations: 319.5 kB / 1.518 GB, free: 12.24 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/0.7429, allocations: 156.9 kB / 1.519 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.743, allocations: 51.97 kB / 1.519 GB, free: 12.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001151/0.7442, allocations: 0.7899 MB / 1.519 GB, free: 11.25 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7442, allocations: 0 / 1.519 GB, free: 11.25 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002228/0.7464, allocations: 0.6562 MB / 1.52 GB, free: 10.59 MB / 1.217 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.7467, allocations: 139.2 kB / 1.52 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0117/0.7584, allocations: 4.925 MB / 1.525 GB, free: 5.414 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.7584, allocations: 4 kB / 1.525 GB, free: 5.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007553/0.766, allocations: 3.28 MB / 1.528 GB, free: 2.027 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.7687, allocations: 0.5618 MB / 1.529 GB, free: 1.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.7797, allocations: 4.463 MB / 1.533 GB, free: 12.95 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.7816, allocations: 1.568 MB / 1.535 GB, free: 11.34 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/0.7824, allocations: 127.3 kB / 1.535 GB, free: 11.21 MB / 1.232 GB Notification: Performance of SimCode: time 1.292e-06/0.7824, allocations: 0 / 1.535 GB, free: 11.21 MB / 1.232 GB Notification: Performance of Templates: time 0.8764/1.659, allocations: 85.92 MB / 1.619 GB, free: 238.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 19.83515048600384]