Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001331/0.001331, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002478/0.002478, allocations: 216.5 kB / 22.99 MB, free: 4.984 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002028/0.002028, allocations: 67.41 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04327/0.4047, allocations: 33.67 MB / 1.36 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.4238, allocations: 10.03 MB / 1.37 GB, free: 5.145 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.4274, allocations: 198.6 kB / 1.37 GB, free: 4.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.4382, allocations: 3.819 MB / 1.374 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.4447, allocations: 2.146 MB / 1.376 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.4503, allocations: 1.974 MB / 1.378 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.4611, allocations: 7.96 MB / 1.385 GB, free: 5.008 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00899/0.4701, allocations: 5.276 MB / 1.391 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005808/0.4759, allocations: 3.498 MB / 1.394 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006737/0.4826, allocations: 3.937 MB / 1.398 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001734/0.4844, allocations: 0.6796 MB / 1.399 GB, free: 7.473 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.4879, allocations: 1.358 MB / 1.4 GB, free: 6.113 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003602/0.4915, allocations: 2.685 MB / 1.403 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004797/0.4963, allocations: 2.518 MB / 1.405 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.5089, allocations: 10.47 MB / 1.415 GB, free: 6.395 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.5089, allocations: 0 / 1.415 GB, free: 6.395 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5089, allocations: 0 / 1.415 GB, free: 6.395 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002757/0.5092, allocations: 0 / 1.415 GB, free: 6.395 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01603/0.5252, allocations: 5.463 MB / 1.421 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.5253, allocations: 12.03 kB / 1.421 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006965/0.5322, allocations: 0.9838 MB / 1.421 GB, free: 15.87 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009072/0.5413, allocations: 3.136 MB / 1.425 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/0.5417, allocations: 353.9 kB / 1.425 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.5435, allocations: 476.3 kB / 1.425 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.5641, allocations: 8.668 MB / 1.434 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002231/0.5644, allocations: 19.81 kB / 1.434 GB, free: 2.621 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/0.5658, allocations: 212 kB / 1.434 GB, free: 2.414 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006321/0.5664, allocations: 361.1 kB / 1.434 GB, free: 2.059 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.58, allocations: 5.933 MB / 1.44 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03965/0.6196, allocations: 22.94 MB / 1.463 GB, free: 4.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.6234, allocations: 1.991 MB / 1.465 GB, free: 2.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.6255, allocations: 1.342 MB / 1.466 GB, free: 1.156 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.6256, allocations: 21.31 kB / 1.466 GB, free: 1.133 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.6257, allocations: 51.88 kB / 1.466 GB, free: 1.074 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.717e-06/0.6257, allocations: 0 / 1.466 GB, free: 1.074 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01459/0.6403, allocations: 6.636 MB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.6403, allocations: 72.66 kB / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.6431, allocations: 1.709 MB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.6433, allocations: 57.7 kB / 1.474 GB, free: 8.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.645, allocations: 2.195 MB / 1.476 GB, free: 6.289 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007358/0.6458, allocations: 0.5848 MB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006899/0.6465, allocations: 415.9 kB / 1.477 GB, free: 5.285 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6466, allocations: 301.1 kB / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.6483, allocations: 1.058 MB / 1.479 GB, free: 3.926 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.6505, allocations: 1.768 MB / 1.48 GB, free: 1.836 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.6549, allocations: 3.045 MB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.6549, allocations: 8 kB / 1.483 GB, free: 14.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00725/0.6621, allocations: 3.879 MB / 1.487 GB, free: 10.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.6622, allocations: 16 kB / 1.487 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.6622, allocations: 20 kB / 1.487 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.6649, allocations: 0.9354 MB / 1.488 GB, free: 9.539 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.6667, allocations: 435.2 kB / 1.488 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.6889, allocations: 21.12 MB / 1.509 GB, free: 2.762 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.6911, allocations: 123.9 kB / 1.509 GB, free: 2.641 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.6913, allocations: 95.98 kB / 1.509 GB, free: 2.547 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003061/0.6944, allocations: 1.646 MB / 1.511 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.695, allocations: 246.5 kB / 1.511 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/0.7008, allocations: 3.225 MB / 1.514 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.7008, allocations: 16 kB / 1.514 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.7009, allocations: 8 kB / 1.514 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.7009, allocations: 7.969 kB / 1.514 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.7137, allocations: 6.452 MB / 1.521 GB, free: 6.754 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.7137, allocations: 4 kB / 1.521 GB, free: 6.75 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.7147, allocations: 219.6 kB / 1.521 GB, free: 6.535 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.7172, allocations: 0.889 MB / 1.522 GB, free: 5.609 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.7174, allocations: 39.94 kB / 1.522 GB, free: 5.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02242/0.7398, allocations: 21.08 MB / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.7398, allocations: 7.938 kB / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006913/0.7467, allocations: 3.341 MB / 1.546 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/0.7486, allocations: 454.2 kB / 1.546 GB, free: 11.35 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.749, allocations: 32 kB / 1.546 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7501, allocations: 91.88 kB / 1.546 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000505/0.7506, allocations: 152.9 kB / 1.546 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.7507, allocations: 44 kB / 1.546 GB, free: 11.03 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001811/0.7525, allocations: 1.09 MB / 1.547 GB, free: 9.922 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7525, allocations: 0 / 1.547 GB, free: 9.922 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003387/0.7559, allocations: 0.9023 MB / 1.548 GB, free: 9.02 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.000416/0.7563, allocations: 160.8 kB / 1.548 GB, free: 8.855 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007297/0.7636, allocations: 4.299 MB / 1.553 GB, free: 4.402 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.7637, allocations: 0 / 1.553 GB, free: 4.402 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/0.7685, allocations: 2.899 MB / 1.555 GB, free: 1.348 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/0.7722, allocations: 0.7602 MB / 1.556 GB, free: 0.6016 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.7873, allocations: 7.823 MB / 1.564 GB, free: 8.684 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/0.7916, allocations: 2.661 MB / 1.566 GB, free: 5.988 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00202/0.7936, allocations: 0.5044 MB / 1.567 GB, free: 5.48 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.794, allocations: 139.4 kB / 1.567 GB, free: 5.344 MB / 1.264 GB Notification: Performance of SimCode: time 1.533e-06/0.794, allocations: 0 / 1.567 GB, free: 5.344 MB / 1.264 GB Notification: Performance of Templates: time 0.8367/1.631, allocations: 48.62 MB / 1.615 GB, free: 252.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 11.195822413996211]