Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001925/0.001925, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002401/0.002401, allocations: 217.8 kB / 22.25 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.988 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.241/3.241, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") [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.002038/0.002038, allocations: 68.05 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04965/0.3775, allocations: 39.8 MB / 1.365 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.3987, allocations: 11.44 MB / 1.376 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00439/0.4031, allocations: 202.6 kB / 1.377 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.4158, allocations: 4.561 MB / 1.381 GB, free: 9.277 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008452/0.4242, allocations: 2.332 MB / 1.383 GB, free: 6.934 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006806/0.431, allocations: 2.253 MB / 1.386 GB, free: 4.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.015/0.446, allocations: 9.277 MB / 1.395 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.4581, allocations: 6.396 MB / 1.401 GB, free: 4.852 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007585/0.4656, allocations: 4.106 MB / 1.405 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009194/0.4748, allocations: 4.751 MB / 1.409 GB, free: 11.97 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002345/0.4772, allocations: 0.8242 MB / 1.41 GB, free: 11.14 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/0.4817, allocations: 1.611 MB / 1.412 GB, free: 9.531 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004363/0.486, allocations: 3.235 MB / 1.415 GB, free: 6.289 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006861/0.4929, allocations: 3.657 MB / 1.419 GB, free: 2.617 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.5088, allocations: 12.35 MB / 1.431 GB, free: 6.227 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5088, allocations: 0 / 1.431 GB, free: 6.227 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5088, allocations: 0 / 1.431 GB, free: 6.227 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003009/0.5091, allocations: 0 / 1.431 GB, free: 6.227 MB / 1.123 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.01508/0.5242, allocations: 6.395 MB / 1.437 GB, free: 15.77 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5242, allocations: 12.03 kB / 1.437 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/0.5298, allocations: 1.094 MB / 1.438 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008899/0.5387, allocations: 3.572 MB / 1.441 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/0.5391, allocations: 427.7 kB / 1.442 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.5406, allocations: 0.5355 MB / 1.442 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.5598, allocations: 9.377 MB / 1.452 GB, free: 368 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.56, allocations: 23.77 kB / 1.452 GB, free: 344 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006809/0.5606, allocations: 252 kB / 1.452 GB, free: 92 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007009/0.5613, allocations: 418.9 kB / 1.452 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.5758, allocations: 7.127 MB / 1.459 GB, free: 8.543 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04894/0.6247, allocations: 40.71 MB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.6295, allocations: 2.905 MB / 1.502 GB, free: 9.176 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.6324, allocations: 1.949 MB / 1.504 GB, free: 7.23 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6326, allocations: 25.94 kB / 1.504 GB, free: 7.203 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.6326, allocations: 60.56 kB / 1.504 GB, free: 7.137 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 3.787e-06/0.6326, allocations: 0 / 1.504 GB, free: 7.137 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02457/0.6572, allocations: 10.28 MB / 1.514 GB, free: 12.85 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.6573, allocations: 77.34 kB / 1.514 GB, free: 12.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.6601, allocations: 2.002 MB / 1.516 GB, free: 10.74 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.6602, allocations: 65.7 kB / 1.516 GB, free: 10.67 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.6621, allocations: 2.482 MB / 1.518 GB, free: 8.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007652/0.6629, allocations: 0.763 MB / 1.519 GB, free: 7.391 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000796/0.6637, allocations: 485.5 kB / 1.52 GB, free: 6.91 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6638, allocations: 301.1 kB / 1.52 GB, free: 6.613 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.6659, allocations: 1.372 MB / 1.521 GB, free: 5.238 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.6687, allocations: 2.104 MB / 1.523 GB, free: 2.816 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.674, allocations: 3.77 MB / 1.527 GB, free: 14.73 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.674, allocations: 4 kB / 1.527 GB, free: 14.73 MB / 1.232 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008854/0.6829, allocations: 5.031 MB / 1.532 GB, free: 9.672 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.6829, allocations: 16 kB / 1.532 GB, free: 9.656 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/0.683, allocations: 24 kB / 1.532 GB, free: 9.633 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/0.6866, allocations: 1.579 MB / 1.533 GB, free: 8.043 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.6883, allocations: 455.2 kB / 1.534 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/0.7133, allocations: 18.18 MB / 1.552 GB, free: 4.961 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.7156, allocations: 147.9 kB / 1.552 GB, free: 4.816 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.7159, allocations: 112 kB / 1.552 GB, free: 4.707 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 (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.004131/0.72, allocations: 1.94 MB / 1.554 GB, free: 2.758 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008179/0.7208, allocations: 302.2 kB / 1.554 GB, free: 2.461 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008055/0.7289, allocations: 4.4 MB / 1.558 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.7289, allocations: 20 kB / 1.558 GB, free: 14.01 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/0.7289, allocations: 16 kB / 1.558 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.7289, allocations: 15.95 kB / 1.558 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.7457, allocations: 9.604 MB / 1.568 GB, free: 4.234 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.7457, allocations: 4 kB / 1.568 GB, free: 4.23 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.7467, allocations: 236.2 kB / 1.568 GB, free: 4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/0.7502, allocations: 1.426 MB / 1.569 GB, free: 2.562 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.7503, allocations: 40 kB / 1.569 GB, free: 2.523 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/0.7755, allocations: 18.18 MB / 1.587 GB, free: 15.87 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7755, allocations: 4.25 kB / 1.587 GB, free: 15.87 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/0.7833, allocations: 4.503 MB / 1.592 GB, free: 11.28 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.7851, allocations: 0.58 MB / 1.592 GB, free: 10.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.7855, allocations: 40 kB / 1.592 GB, free: 10.66 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7868, allocations: 119.9 kB / 1.592 GB, free: 10.54 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000536/0.7873, allocations: 185.5 kB / 1.592 GB, free: 10.36 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.7875, allocations: 63.98 kB / 1.592 GB, free: 10.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002018/0.7895, allocations: 1.315 MB / 1.594 GB, free: 8.973 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7895, allocations: 7.875 kB / 1.594 GB, free: 8.965 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003401/0.7929, allocations: 1.141 MB / 1.595 GB, free: 7.824 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 (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.0003346/0.7932, allocations: 163 kB / 1.595 GB, free: 7.656 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007907/0.8011, allocations: 4.54 MB / 1.599 GB, free: 3.062 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.8011, allocations: 4 kB / 1.599 GB, free: 3.059 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004988/0.8061, allocations: 2.812 MB / 1.602 GB, free: 208 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6031/1.409, allocations: 0.894 MB / 1.603 GB, free: 256.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.429, allocations: 9.546 MB / 1.612 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00697/1.436, allocations: 3.689 MB / 1.616 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002552/1.438, allocations: 0.5602 MB / 1.617 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/1.439, allocations: 149.2 kB / 1.617 GB, free: 252.7 MB / 1.295 GB Notification: Performance of SimCode: time 8.12e-07/1.439, allocations: 0 / 1.617 GB, free: 252.7 MB / 1.295 GB Notification: Performance of Templates: time 0.08086/1.52, allocations: 54.2 MB / 1.67 GB, free: 222.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 11.69944516196847]