Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001416/0.001416, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001546/0.001546, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.15/3.15, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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") [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.003283/0.003283, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.011, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03014/1.041, allocations: 31.26 MB / 1.352 GB, free: 3.836 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02367/1.065, allocations: 13.75 MB / 1.366 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004914/1.07, allocations: 193.8 kB / 1.366 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009935/1.08, allocations: 3.249 MB / 1.369 GB, free: 8.273 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/1.091, allocations: 2.759 MB / 1.372 GB, free: 6.582 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007062/1.098, allocations: 2.019 MB / 1.374 GB, free: 5.461 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01281/1.111, allocations: 7.609 MB / 1.381 GB, free: 2.047 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009878/1.121, allocations: 6.143 MB / 1.387 GB, free: 15.53 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008067/1.129, allocations: 3.634 MB / 1.391 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007559/1.136, allocations: 3.505 MB / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002045/1.138, allocations: 0.5925 MB / 1.395 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/1.144, allocations: 1.521 MB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004395/1.148, allocations: 2.419 MB / 1.399 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006977/1.155, allocations: 2.877 MB / 1.402 GB, free: 9.281 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01874/1.174, allocations: 9.47 MB / 1.411 GB, free: 4.879 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/1.174, allocations: 5 kB / 1.411 GB, free: 4.875 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.185e-06/1.174, allocations: 3.938 kB / 1.411 GB, free: 4.871 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003299/1.174, allocations: 0 / 1.411 GB, free: 4.871 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01908/1.193, allocations: 5.244 MB / 1.416 GB, free: 1.285 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.193, allocations: 9.125 kB / 1.416 GB, free: 1.285 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007547/1.201, allocations: 1.03 MB / 1.417 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00861/1.209, allocations: 3.079 MB / 1.42 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/1.21, allocations: 318.6 kB / 1.42 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/1.211, allocations: 425.7 kB / 1.421 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/1.228, allocations: 6.758 MB / 1.427 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/1.228, allocations: 23.3 kB / 1.427 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007138/1.229, allocations: 182.8 kB / 1.427 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009575/1.23, allocations: 370.1 kB / 1.428 GB, free: 9.984 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/1.242, allocations: 5.117 MB / 1.433 GB, free: 7.34 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04127/1.283, allocations: 30.56 MB / 1.463 GB, free: 6.254 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/1.286, allocations: 1.32 MB / 1.464 GB, free: 4.922 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/1.288, allocations: 1.257 MB / 1.465 GB, free: 3.668 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.27e-05/1.288, allocations: 17.31 kB / 1.465 GB, free: 3.652 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/1.288, allocations: 47.88 kB / 1.465 GB, free: 3.598 MB / 1.139 GB Notification: Performance of pre-optimization done (n=130): time 3.707e-06/1.288, allocations: 0 / 1.465 GB, free: 3.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=199): time 0.09588/1.384, allocations: 23.07 MB / 1.488 GB, free: 12.41 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/1.384, allocations: 73.41 kB / 1.488 GB, free: 12.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.387, allocations: 2.062 MB / 1.49 GB, free: 10.24 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003389/1.388, allocations: 61.7 kB / 1.49 GB, free: 10.18 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.389, allocations: 2.063 MB / 1.492 GB, free: 8.094 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008694/1.39, allocations: 0.7126 MB / 1.493 GB, free: 7.375 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008355/1.391, allocations: 416.4 kB / 1.493 GB, free: 6.961 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.391, allocations: 305.1 kB / 1.493 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/1.393, allocations: 1.433 MB / 1.495 GB, free: 5.223 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/1.396, allocations: 2.013 MB / 1.497 GB, free: 2.957 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/1.402, allocations: 3.688 MB / 1.5 GB, free: 15.03 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.402, allocations: 4 kB / 1.5 GB, free: 15.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0123/1.414, allocations: 5.604 MB / 1.506 GB, free: 9.352 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/1.414, allocations: 16.25 kB / 1.506 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/1.414, allocations: 16 kB / 1.506 GB, free: 9.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007431/1.422, allocations: 2.079 MB / 1.508 GB, free: 7.184 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.423, allocations: 375.4 kB / 1.508 GB, free: 6.816 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04631/1.47, allocations: 38.46 MB / 1.546 GB, free: 13.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/1.473, allocations: 123.9 kB / 1.546 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.473, allocations: 91.98 kB / 1.546 GB, free: 13.62 MB / 1.232 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.003205/1.476, allocations: 1.516 MB / 1.547 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000728/1.477, allocations: 298.2 kB / 1.548 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.488, allocations: 5.137 MB / 1.553 GB, free: 6.586 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.488, allocations: 23.98 kB / 1.553 GB, free: 6.562 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.694e-05/1.489, allocations: 16 kB / 1.553 GB, free: 6.547 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/1.489, allocations: 12.25 kB / 1.553 GB, free: 6.535 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.509, allocations: 9.602 MB / 1.562 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.509, allocations: 8 kB / 1.562 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/1.51, allocations: 216.5 kB / 1.562 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006336/1.516, allocations: 1.842 MB / 1.564 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/1.516, allocations: 40 kB / 1.564 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04337/1.56, allocations: 37.48 MB / 1.601 GB, free: 2.566 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.56, allocations: 15.92 kB / 1.601 GB, free: 2.551 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.57, allocations: 4.856 MB / 1.606 GB, free: 13.54 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.572, allocations: 0.6357 MB / 1.606 GB, free: 12.88 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005676/1.572, allocations: 40 kB / 1.606 GB, free: 12.84 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.574, allocations: 131.8 kB / 1.606 GB, free: 12.71 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/1.575, allocations: 189.6 kB / 1.607 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.575, allocations: 60 kB / 1.607 GB, free: 12.47 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002288/1.577, allocations: 1.374 MB / 1.608 GB, free: 11.09 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.31e-07/1.577, allocations: 0 / 1.608 GB, free: 11.09 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004027/1.581, allocations: 1.051 MB / 1.609 GB, free: 10.04 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003515/1.582, allocations: 170.9 kB / 1.609 GB, free: 9.859 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.593, allocations: 5.994 MB / 1.615 GB, free: 3.633 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.593, allocations: 4.875 kB / 1.615 GB, free: 3.629 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007713/1.6, allocations: 4.284 MB / 1.619 GB, free: 15.11 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/1.606, allocations: 0.9975 MB / 1.62 GB, free: 14.14 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.623, allocations: 8.733 MB / 1.629 GB, free: 5.312 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004876/1.628, allocations: 3.183 MB / 1.632 GB, free: 2.094 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008077/1.629, allocations: 163.4 kB / 1.632 GB, free: 1.938 MB / 1.311 GB Notification: Performance of SimCode: time 1.302e-06/1.629, allocations: 0 / 1.632 GB, free: 1.938 MB / 1.311 GB Notification: Performance of Templates: time 1.145/2.774, allocations: 465.2 MB / 2.086 GB, free: 353.4 MB / 1.561 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 30.480824621001375]