Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001799/0.001799, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002165/0.002165, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.298/3.298, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.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_latest_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_latest_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.0021/0.0021, allocations: 72.14 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3908, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04986/0.4406, allocations: 36.82 MB / 1.39 GB, free: 3.051 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.4596, allocations: 10.34 MB / 1.4 GB, free: 8.68 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.4633, allocations: 190.6 kB / 1.4 GB, free: 8.492 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.474, allocations: 3.979 MB / 1.404 GB, free: 4.504 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007002/0.481, allocations: 2.142 MB / 1.406 GB, free: 2.352 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005836/0.4869, allocations: 2.039 MB / 1.408 GB, free: 320 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.4988, allocations: 7.972 MB / 1.416 GB, free: 8.312 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008954/0.5077, allocations: 5.291 MB / 1.421 GB, free: 2.906 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/0.5145, allocations: 3.466 MB / 1.425 GB, free: 15.43 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007678/0.5222, allocations: 3.937 MB / 1.428 GB, free: 11.48 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.5241, allocations: 0.6797 MB / 1.429 GB, free: 10.8 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.5279, allocations: 1.467 MB / 1.431 GB, free: 9.332 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.5316, allocations: 2.681 MB / 1.433 GB, free: 6.645 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005985/0.5376, allocations: 3.097 MB / 1.436 GB, free: 3.535 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.5513, allocations: 10.42 MB / 1.446 GB, free: 9.086 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.5513, allocations: 4 kB / 1.446 GB, free: 9.082 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5513, allocations: 0 / 1.446 GB, free: 9.082 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003606/0.5517, allocations: 4 kB / 1.446 GB, free: 9.078 MB / 1.139 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.01577/0.5675, allocations: 5.465 MB / 1.452 GB, free: 3.555 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5675, allocations: 8.031 kB / 1.452 GB, free: 3.547 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/0.5731, allocations: 0.985 MB / 1.453 GB, free: 2.559 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008065/0.5811, allocations: 3.132 MB / 1.456 GB, free: 15.36 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.5815, allocations: 361.9 kB / 1.456 GB, free: 15.01 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.5831, allocations: 464.3 kB / 1.457 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.5994, allocations: 7.906 MB / 1.464 GB, free: 6.285 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.5995, allocations: 23.77 kB / 1.464 GB, free: 6.262 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005434/0.6001, allocations: 208 kB / 1.465 GB, free: 6.059 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005651/0.6006, allocations: 377.1 kB / 1.465 GB, free: 5.688 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.6129, allocations: 5.93 MB / 1.471 GB, free: 15.74 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0449/0.6578, allocations: 35.7 MB / 1.506 GB, free: 8.801 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.6613, allocations: 1.994 MB / 1.507 GB, free: 6.785 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.6632, allocations: 1.337 MB / 1.509 GB, free: 5.453 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.893e-05/0.6633, allocations: 17.3 kB / 1.509 GB, free: 5.434 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.6634, allocations: 55.81 kB / 1.509 GB, free: 5.371 MB / 1.201 GB Notification: Performance of pre-optimization done (n=157): time 4.268e-06/0.6634, allocations: 4 kB / 1.509 GB, free: 5.367 MB / 1.201 GB Notification: Performance of matching and sorting (n=160): time 0.01413/0.6775, allocations: 6.655 MB / 1.515 GB, free: 14.67 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.6776, allocations: 76.7 kB / 1.515 GB, free: 14.58 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.6804, allocations: 1.868 MB / 1.517 GB, free: 12.69 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.6806, allocations: 61.62 kB / 1.517 GB, free: 12.62 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.6823, allocations: 2.184 MB / 1.519 GB, free: 10.42 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000603/0.6829, allocations: 0.5887 MB / 1.52 GB, free: 9.824 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/0.6836, allocations: 404 kB / 1.52 GB, free: 9.422 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6837, allocations: 301.1 kB / 1.521 GB, free: 9.125 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.6854, allocations: 1.058 MB / 1.522 GB, free: 8.062 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.6877, allocations: 1.768 MB / 1.523 GB, free: 5.973 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.692, allocations: 3.052 MB / 1.526 GB, free: 2.609 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.692, allocations: 8 kB / 1.526 GB, free: 2.602 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006986/0.699, allocations: 3.906 MB / 1.53 GB, free: 14.65 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.699, allocations: 16.25 kB / 1.53 GB, free: 14.63 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/0.6991, allocations: 24 kB / 1.53 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/0.7016, allocations: 0.9272 MB / 1.531 GB, free: 13.64 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.7032, allocations: 423.2 kB / 1.532 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.7262, allocations: 21.55 MB / 1.553 GB, free: 6.297 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.7282, allocations: 119.9 kB / 1.553 GB, free: 6.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.7284, allocations: 100 kB / 1.553 GB, free: 6.082 MB / 1.248 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.003008/0.7314, allocations: 1.652 MB / 1.554 GB, free: 4.418 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.7319, allocations: 270.4 kB / 1.555 GB, free: 4.152 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.7377, allocations: 3.229 MB / 1.558 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.7378, allocations: 16 kB / 1.558 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/0.7378, allocations: 8 kB / 1.558 GB, free: 0.8477 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.7378, allocations: 11.91 kB / 1.558 GB, free: 0.8359 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.7507, allocations: 7.508 MB / 1.565 GB, free: 9.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7508, allocations: 4 kB / 1.565 GB, free: 9.176 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.7517, allocations: 219.6 kB / 1.565 GB, free: 8.961 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.7541, allocations: 0.8969 MB / 1.566 GB, free: 8.027 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7542, allocations: 31.94 kB / 1.566 GB, free: 7.996 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02277/0.7769, allocations: 21.51 MB / 1.587 GB, free: 1.098 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.7769, allocations: 12 kB / 1.587 GB, free: 1.086 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/0.7829, allocations: 3.353 MB / 1.591 GB, free: 13.62 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.7844, allocations: 478.1 kB / 1.591 GB, free: 13.15 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.7847, allocations: 39.94 kB / 1.591 GB, free: 13.11 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7857, allocations: 91.83 kB / 1.591 GB, free: 13.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/0.7861, allocations: 152.9 kB / 1.591 GB, free: 12.87 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.7862, allocations: 44 kB / 1.591 GB, free: 12.82 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001814/0.788, allocations: 1.229 MB / 1.593 GB, free: 11.58 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.4e-07/0.788, allocations: 0 / 1.593 GB, free: 11.58 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002961/0.791, allocations: 0.9062 MB / 1.594 GB, free: 10.68 MB / 1.295 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.0002945/0.7913, allocations: 147.2 kB / 1.594 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00699/0.7983, allocations: 4.295 MB / 1.598 GB, free: 6.074 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7983, allocations: 0 / 1.598 GB, free: 6.074 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004518/0.8028, allocations: 2.902 MB / 1.601 GB, free: 3.016 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/0.8064, allocations: 0.8395 MB / 1.601 GB, free: 2.191 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7039/1.51, allocations: 8.461 MB / 1.61 GB, free: 228.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007772/1.518, allocations: 3.277 MB / 1.613 GB, free: 228.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.519, allocations: 158.3 kB / 1.613 GB, free: 228.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.382e-06/1.519, allocations: 1.094 kB / 1.613 GB, free: 228.1 MB / 1.295 GB Notification: Performance of Templates: time 0.3625/1.882, allocations: 340.1 MB / 1.945 GB, free: 15.35 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.29801617699559]