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.001301/0.001301, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001522/0.001522, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.213/3.213, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.003308/0.003308, allocations: 67.22 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3399, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03822/0.3781, allocations: 29.29 MB / 1.356 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.4015, allocations: 13.21 MB / 1.369 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.4049, allocations: 198.4 kB / 1.369 GB, free: 6.176 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009109/0.414, allocations: 3.207 MB / 1.372 GB, free: 2.961 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.4244, allocations: 2.74 MB / 1.375 GB, free: 212 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.43, allocations: 2.031 MB / 1.377 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.4402, allocations: 7.621 MB / 1.384 GB, free: 6.527 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007179/0.4474, allocations: 4.643 MB / 1.389 GB, free: 1.766 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.4535, allocations: 3.669 MB / 1.392 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005588/0.4591, allocations: 3.5 MB / 1.396 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.4601, allocations: 0.5938 MB / 1.396 GB, free: 9.98 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.463, allocations: 1.4 MB / 1.397 GB, free: 8.578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002587/0.4656, allocations: 2.412 MB / 1.4 GB, free: 6.16 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.4689, allocations: 2.331 MB / 1.402 GB, free: 3.82 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.4801, allocations: 9.523 MB / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.4801, allocations: 0 / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4801, allocations: 0 / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002796/0.4804, allocations: 0 / 1.411 GB, free: 10.27 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01136/0.4917, allocations: 5.172 MB / 1.416 GB, free: 5.027 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4918, allocations: 8.031 kB / 1.416 GB, free: 5.02 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005926/0.4977, allocations: 1.028 MB / 1.417 GB, free: 3.988 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.5052, allocations: 3.013 MB / 1.42 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.5055, allocations: 320.8 kB / 1.421 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.5066, allocations: 424 kB / 1.421 GB, free: 156 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.5212, allocations: 7.354 MB / 1.428 GB, free: 8.371 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/0.5214, allocations: 23.83 kB / 1.428 GB, free: 8.348 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007789/0.5222, allocations: 188 kB / 1.429 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/0.5236, allocations: 368 kB / 1.429 GB, free: 7.801 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.5384, allocations: 5.106 MB / 1.434 GB, free: 2.676 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/0.5842, allocations: 19.05 MB / 1.452 GB, free: 15.11 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.5871, allocations: 1.305 MB / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.5889, allocations: 1.238 MB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.556e-05/0.589, allocations: 17.31 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.5891, allocations: 55.8 kB / 1.455 GB, free: 12.47 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.757e-06/0.5891, allocations: 0 / 1.455 GB, free: 12.47 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.1022/0.6913, allocations: 22.83 MB / 1.477 GB, free: 5.582 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.6914, allocations: 73.41 kB / 1.477 GB, free: 5.496 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/0.6955, allocations: 1.853 MB / 1.479 GB, free: 3.613 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004734/0.6959, allocations: 61.7 kB / 1.479 GB, free: 3.547 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00229/0.6982, allocations: 2.061 MB / 1.481 GB, free: 1.469 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.6995, allocations: 0.7126 MB / 1.482 GB, free: 0.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000983/0.7005, allocations: 416.3 kB / 1.482 GB, free: 344 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7007, allocations: 305.1 kB / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.7043, allocations: 1.43 MB / 1.484 GB, free: 14.6 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.7087, allocations: 2.013 MB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/0.7171, allocations: 3.696 MB / 1.49 GB, free: 8.406 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.7171, allocations: 4 kB / 1.49 GB, free: 8.402 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01434/0.7314, allocations: 5.585 MB / 1.495 GB, free: 2.75 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.7315, allocations: 14.19 kB / 1.495 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.7315, allocations: 20 kB / 1.495 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007675/0.7392, allocations: 2.076 MB / 1.497 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.7409, allocations: 375.4 kB / 1.497 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04351/0.7844, allocations: 35.88 MB / 1.533 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.7868, allocations: 123.9 kB / 1.533 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.7871, allocations: 92 kB / 1.533 GB, free: 10.27 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.002904/0.79, allocations: 1.501 MB / 1.534 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/0.7907, allocations: 278.2 kB / 1.534 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.802, allocations: 5.13 MB / 1.539 GB, free: 3.285 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.8021, allocations: 20 kB / 1.54 GB, free: 3.266 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.416e-05/0.8021, allocations: 16 kB / 1.54 GB, free: 3.25 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-05/0.8022, allocations: 11.95 kB / 1.54 GB, free: 3.238 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/0.8208, allocations: 8.442 MB / 1.548 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/0.8209, allocations: 12 kB / 1.548 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.8218, allocations: 215.6 kB / 1.548 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006476/0.8283, allocations: 1.842 MB / 1.55 GB, free: 8.488 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/0.8286, allocations: 40 kB / 1.55 GB, free: 8.449 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/0.8708, allocations: 34.89 MB / 1.584 GB, free: 3.711 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.8708, allocations: 11.94 kB / 1.584 GB, free: 3.699 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.8812, allocations: 4.835 MB / 1.589 GB, free: 14.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/0.8831, allocations: 0.5255 MB / 1.589 GB, free: 14.18 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/0.8835, allocations: 47.98 kB / 1.589 GB, free: 14.13 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.8849, allocations: 127.8 kB / 1.589 GB, free: 14 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006953/0.8856, allocations: 201.4 kB / 1.59 GB, free: 13.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8858, allocations: 60 kB / 1.59 GB, free: 13.75 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001886/0.8876, allocations: 1.204 MB / 1.591 GB, free: 12.53 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.8876, allocations: 0 / 1.591 GB, free: 12.53 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003683/0.8913, allocations: 1.043 MB / 1.592 GB, free: 11.48 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.0003859/0.8917, allocations: 174.9 kB / 1.592 GB, free: 11.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01087/0.9026, allocations: 6.002 MB / 1.598 GB, free: 5.07 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.9026, allocations: 7.938 kB / 1.598 GB, free: 5.062 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007706/0.9103, allocations: 4.289 MB / 1.602 GB, free: 0.543 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6248/1.535, allocations: 0.8853 MB / 1.603 GB, free: 251.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.55, allocations: 8.25 MB / 1.611 GB, free: 248.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003999/1.554, allocations: 2.577 MB / 1.613 GB, free: 248.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002098/1.556, allocations: 0.4948 MB / 1.614 GB, free: 248.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.557, allocations: 134.6 kB / 1.614 GB, free: 248.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.713e-06/1.557, allocations: 0 / 1.614 GB, free: 248.6 MB / 1.295 GB Notification: Performance of Templates: time 0.0927/1.649, allocations: 66.79 MB / 1.679 GB, free: 209.9 MB / 1.295 GB " [Timeout remaining time 298] 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 -s cvode -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: 11.611546015992644]