Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.00142/0.00142, 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.001587/0.001587, allocations: 211.9 kB / 22.25 MB, free: 5.129 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.48/1.48, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002194/0.002194, allocations: 69.05 kB / 1.118 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 169.9 MB / 1.284 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04577/0.3802, allocations: 36.67 MB / 1.32 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.4007, allocations: 11.98 MB / 1.331 GB, free: 2.523 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.4036, allocations: 210.4 kB / 1.332 GB, free: 2.316 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.4149, allocations: 4.46 MB / 1.336 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.4206, allocations: 2.088 MB / 1.338 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006288/0.4269, allocations: 2.466 MB / 1.34 GB, free: 9.285 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.4399, allocations: 8.468 MB / 1.349 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.4519, allocations: 6.228 MB / 1.355 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006726/0.4586, allocations: 3.849 MB / 1.358 GB, free: 6.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007671/0.4663, allocations: 4.424 MB / 1.363 GB, free: 2.152 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.4684, allocations: 0.7812 MB / 1.364 GB, free: 1.371 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.4733, allocations: 2.075 MB / 1.366 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004364/0.4777, allocations: 3.133 MB / 1.369 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005668/0.4834, allocations: 3.4 MB / 1.372 GB, free: 8.738 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.4989, allocations: 12.01 MB / 1.384 GB, free: 12.69 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4989, allocations: 0 / 1.384 GB, free: 12.69 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4989, allocations: 0 / 1.384 GB, free: 12.69 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003072/0.4992, allocations: 0 / 1.384 GB, free: 12.69 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01419/0.5134, allocations: 5.875 MB / 1.389 GB, free: 6.754 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5134, allocations: 12.03 kB / 1.389 GB, free: 6.742 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/0.5198, allocations: 1.086 MB / 1.39 GB, free: 5.652 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00873/0.5285, allocations: 3.415 MB / 1.394 GB, free: 2.172 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.5289, allocations: 423.4 kB / 1.394 GB, free: 1.758 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.5305, allocations: 0.5393 MB / 1.395 GB, free: 1.219 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.549, allocations: 9.075 MB / 1.404 GB, free: 7.824 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.5491, allocations: 27.78 kB / 1.404 GB, free: 7.797 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006308/0.5498, allocations: 236 kB / 1.404 GB, free: 7.566 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/0.5502, allocations: 350.8 kB / 1.404 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.5639, allocations: 6.83 MB / 1.411 GB, free: 392 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/0.6093, allocations: 39.5 MB / 1.449 GB, free: 5.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/0.6132, allocations: 2.302 MB / 1.452 GB, free: 2.863 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/0.6159, allocations: 1.771 MB / 1.453 GB, free: 1.094 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.616, allocations: 22 kB / 1.453 GB, free: 1.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.6161, allocations: 56.5 kB / 1.453 GB, free: 1.008 MB / 1.154 GB Notification: Performance of pre-optimization done (n=179): time 3.457e-06/0.6161, allocations: 0 / 1.453 GB, free: 1.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=182): time 0.02525/0.6413, allocations: 9.694 MB / 1.463 GB, free: 7.297 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.6414, allocations: 73.41 kB / 1.463 GB, free: 7.211 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.6437, allocations: 1.523 MB / 1.465 GB, free: 5.645 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.6439, allocations: 53.7 kB / 1.465 GB, free: 5.586 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.6456, allocations: 2.331 MB / 1.467 GB, free: 3.227 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/0.6463, allocations: 0.6662 MB / 1.467 GB, free: 2.555 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000621/0.6469, allocations: 404.2 kB / 1.468 GB, free: 2.152 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6471, allocations: 309 kB / 1.468 GB, free: 1.848 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6489, allocations: 1.176 MB / 1.469 GB, free: 0.668 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.6512, allocations: 1.881 MB / 1.471 GB, free: 14.47 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/0.6558, allocations: 3.367 MB / 1.474 GB, free: 10.79 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.6558, allocations: 8 kB / 1.474 GB, free: 10.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008128/0.6639, allocations: 4.543 MB / 1.479 GB, free: 6.219 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.6639, allocations: 15.94 kB / 1.479 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.664, allocations: 24 kB / 1.479 GB, free: 6.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.6679, allocations: 1.586 MB / 1.48 GB, free: 4.586 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.6691, allocations: 351.4 kB / 1.481 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0254/0.6945, allocations: 18.18 MB / 1.499 GB, free: 1.613 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.6962, allocations: 115.9 kB / 1.499 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.6964, allocations: 100 kB / 1.499 GB, free: 1.402 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003074/0.6995, allocations: 1.894 MB / 1.501 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.6999, allocations: 234.5 kB / 1.501 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00742/0.7073, allocations: 4.047 MB / 1.505 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7073, allocations: 20 kB / 1.505 GB, free: 11.17 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/0.7074, allocations: 19.98 kB / 1.505 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.7074, allocations: 7.969 kB / 1.505 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.7239, allocations: 9.398 MB / 1.514 GB, free: 1.492 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.7239, allocations: 4.562 kB / 1.514 GB, free: 1.488 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.7247, allocations: 179.7 kB / 1.514 GB, free: 1.312 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/0.7283, allocations: 1.357 MB / 1.516 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7284, allocations: 39.88 kB / 1.516 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/0.7518, allocations: 16.97 MB / 1.532 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.7518, allocations: 7.938 kB / 1.532 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007485/0.7593, allocations: 4.032 MB / 1.536 GB, free: 10.35 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.7608, allocations: 474.4 kB / 1.537 GB, free: 9.883 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/0.7612, allocations: 39.98 kB / 1.537 GB, free: 9.844 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009541/0.7621, allocations: 83.89 kB / 1.537 GB, free: 9.762 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/0.7626, allocations: 173.6 kB / 1.537 GB, free: 9.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.7627, allocations: 44 kB / 1.537 GB, free: 9.547 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001505/0.7642, allocations: 1.005 MB / 1.538 GB, free: 8.52 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7642, allocations: 0 / 1.538 GB, free: 8.52 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00343/0.7677, allocations: 0.9883 MB / 1.539 GB, free: 7.531 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002974/0.768, allocations: 143.1 kB / 1.539 GB, free: 7.379 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00736/0.7753, allocations: 4.178 MB / 1.543 GB, free: 3.152 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.7753, allocations: 4 kB / 1.543 GB, free: 3.148 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004635/0.78, allocations: 2.572 MB / 1.546 GB, free: 0.5234 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/0.7838, allocations: 0.793 MB / 1.546 GB, free: 15.77 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.801, allocations: 8.872 MB / 1.555 GB, free: 6.805 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004556/0.8056, allocations: 3.573 MB / 1.558 GB, free: 3.199 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001456/0.8071, allocations: 463.9 kB / 1.559 GB, free: 2.742 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.8074, allocations: 119.4 kB / 1.559 GB, free: 2.625 MB / 1.264 GB Notification: Performance of SimCode: time 1.373e-06/0.8074, allocations: 0 / 1.559 GB, free: 2.625 MB / 1.264 GB Notification: Performance of Templates: time 0.7032/1.511, allocations: 46.87 MB / 1.605 GB, free: 241.3 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 10.767085910774767]