Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.5 MB / 0.731 GB, free: 14.02 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.06 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 160.7 MB / 1.217 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04713/0.4163, allocations: 38.58 MB / 1.254 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8254/1.242, allocations: 11.13 MB / 1.265 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005154/1.247, allocations: 153.9 kB / 1.265 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01092/1.258, allocations: 4.426 MB / 1.27 GB, free: 17.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/1.266, allocations: 2.329 MB / 1.272 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006546/1.272, allocations: 2.238 MB / 1.274 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01677/1.289, allocations: 9.286 MB / 1.283 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/1.307, allocations: 8.532 MB / 1.291 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.317, allocations: 4.048 MB / 1.295 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/1.33, allocations: 4.755 MB / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005896/1.336, allocations: 0.8234 MB / 1.301 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009602/1.346, allocations: 1.608 MB / 1.302 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0101/1.356, allocations: 3.235 MB / 1.306 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01737/1.373, allocations: 3.652 MB / 1.309 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02759/1.401, allocations: 12.34 MB / 1.321 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/1.401, allocations: 0 / 1.321 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.066e-06/1.401, allocations: 0 / 1.321 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0006772/1.401, allocations: 1.188 kB / 1.321 GB, free: 2.555 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.03118/1.433, allocations: 6.47 MB / 1.327 GB, free: 14.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.433, allocations: 10.09 kB / 1.328 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/1.442, allocations: 1.107 MB / 1.329 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/1.455, allocations: 3.621 MB / 1.332 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007837/1.456, allocations: 422.3 kB / 1.333 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004133/1.46, allocations: 0.5393 MB / 1.333 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03446/1.494, allocations: 9.381 MB / 1.342 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004217/1.495, allocations: 30.83 kB / 1.342 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003385/1.498, allocations: 252.6 kB / 1.342 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008431/1.499, allocations: 415.8 kB / 1.343 GB, free: 5.137 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/1.519, allocations: 7.124 MB / 1.35 GB, free: 1.477 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06773/1.587, allocations: 41.07 MB / 1.39 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/1.592, allocations: 2.906 MB / 1.393 GB, free: 3.949 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/1.596, allocations: 1.951 MB / 1.395 GB, free: 2.004 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/1.596, allocations: 25.98 kB / 1.395 GB, free: 1.977 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.252e-05/1.596, allocations: 60.56 kB / 1.395 GB, free: 1.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=209): time 4.228e-06/1.596, allocations: 0 / 1.395 GB, free: 1.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=212): time 0.02931/1.626, allocations: 10.58 MB / 1.405 GB, free: 7.246 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.626, allocations: 81.28 kB / 1.405 GB, free: 7.152 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/1.63, allocations: 2.01 MB / 1.407 GB, free: 5.125 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/1.63, allocations: 61.7 kB / 1.407 GB, free: 5.059 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002127/1.632, allocations: 2.485 MB / 1.41 GB, free: 2.559 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.633, allocations: 0.7596 MB / 1.41 GB, free: 1.809 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.635, allocations: 481.5 kB / 1.411 GB, free: 1.332 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.635, allocations: 305.1 kB / 1.411 GB, free: 1.031 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.637, allocations: 1.372 MB / 1.412 GB, free: 15.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/1.641, allocations: 2.107 MB / 1.415 GB, free: 13.24 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006127/1.647, allocations: 3.764 MB / 1.418 GB, free: 9.172 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/1.647, allocations: 8 kB / 1.418 GB, free: 9.164 MB / 1.092 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01032/1.657, allocations: 5.027 MB / 1.423 GB, free: 4.113 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/1.657, allocations: 16 kB / 1.423 GB, free: 4.098 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/1.657, allocations: 23.94 kB / 1.423 GB, free: 4.074 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/1.661, allocations: 1.583 MB / 1.425 GB, free: 2.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/1.663, allocations: 451.2 kB / 1.425 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0272/1.69, allocations: 18.6 MB / 1.443 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.693, allocations: 151.8 kB / 1.443 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/1.694, allocations: 104 kB / 1.444 GB, free: 14.64 MB / 1.123 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005206/1.699, allocations: 1.945 MB / 1.445 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.7, allocations: 302.2 kB / 1.446 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/1.71, allocations: 4.388 MB / 1.45 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.71, allocations: 20 kB / 1.45 GB, free: 7.945 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-05/1.71, allocations: 20 kB / 1.45 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/1.71, allocations: 15.95 kB / 1.45 GB, free: 7.91 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.733, allocations: 9.621 MB / 1.459 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/1.733, allocations: 4 kB / 1.459 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.734, allocations: 231.6 kB / 1.46 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003945/1.738, allocations: 1.433 MB / 1.461 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004895/1.739, allocations: 40 kB / 1.461 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02724/1.766, allocations: 18.59 MB / 1.479 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.766, allocations: 8.188 kB / 1.479 GB, free: 9.328 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.776, allocations: 4.499 MB / 1.484 GB, free: 4.738 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.778, allocations: 0.6514 MB / 1.484 GB, free: 4.066 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.779, allocations: 44 kB / 1.484 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.781, allocations: 119.8 kB / 1.484 GB, free: 3.906 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006868/1.782, allocations: 181.6 kB / 1.485 GB, free: 3.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.782, allocations: 60 kB / 1.485 GB, free: 3.672 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003049/1.785, allocations: 1.315 MB / 1.486 GB, free: 2.348 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/1.785, allocations: 0 / 1.486 GB, free: 2.348 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005491/1.791, allocations: 1.152 MB / 1.487 GB, free: 1.195 MB / 1.154 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005372/1.791, allocations: 159 kB / 1.487 GB, free: 1.031 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008987/1.8, allocations: 4.54 MB / 1.492 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/1.8, allocations: 4 kB / 1.492 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005533/1.806, allocations: 2.796 MB / 1.494 GB, free: 9.617 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/1.812, allocations: 0.8877 MB / 1.495 GB, free: 8.746 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.838, allocations: 10.35 MB / 1.505 GB, free: 14.31 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008425/1.847, allocations: 3.784 MB / 1.509 GB, free: 10.49 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.848, allocations: 167.4 kB / 1.509 GB, free: 10.32 MB / 1.186 GB Notification: Performance of SimCode: time 1.723e-06/1.848, allocations: 0 / 1.509 GB, free: 10.32 MB / 1.186 GB Notification: Performance of Templates: time 0.262/2.11, allocations: 172.3 MB / 1.678 GB, free: 14.19 MB / 1.357 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches