Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001722/0.001722, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001832/0.001832, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.37/3.37, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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_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_latest_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_latest_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.002118/0.002118, allocations: 76.16 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3961, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04659/0.4426, allocations: 33.76 MB / 1.398 GB, free: 11.74 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.4652, allocations: 11.54 MB / 1.409 GB, free: 176 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004113/0.4693, allocations: 210.5 kB / 1.409 GB, free: 15.96 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01256/0.4819, allocations: 4.279 MB / 1.413 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007215/0.4891, allocations: 2.092 MB / 1.415 GB, free: 9.574 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00799/0.4971, allocations: 2.41 MB / 1.418 GB, free: 7.164 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.5098, allocations: 8.457 MB / 1.426 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.5245, allocations: 6.171 MB / 1.432 GB, free: 8.391 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007922/0.5324, allocations: 3.868 MB / 1.436 GB, free: 4.512 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008304/0.5407, allocations: 4.147 MB / 1.44 GB, free: 360 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002941/0.5436, allocations: 0.7813 MB / 1.441 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006154/0.5498, allocations: 1.899 MB / 1.442 GB, free: 13.67 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005973/0.5557, allocations: 3.137 MB / 1.445 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008104/0.5639, allocations: 2.751 MB / 1.448 GB, free: 7.762 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.5829, allocations: 12.06 MB / 1.46 GB, free: 11.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5829, allocations: 0 / 1.46 GB, free: 11.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5829, allocations: 0 / 1.46 GB, free: 11.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003978/0.5833, allocations: 4 kB / 1.46 GB, free: 11.66 MB / 1.154 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.01704/0.6003, allocations: 5.859 MB / 1.466 GB, free: 5.734 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.6004, allocations: 8.031 kB / 1.466 GB, free: 5.727 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007362/0.6077, allocations: 1.102 MB / 1.467 GB, free: 4.621 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008661/0.6164, allocations: 3.411 MB / 1.47 GB, free: 1.141 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/0.6169, allocations: 415.5 kB / 1.47 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/0.619, allocations: 0.5432 MB / 1.471 GB, free: 196 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.6412, allocations: 9.376 MB / 1.48 GB, free: 6.422 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.6414, allocations: 27.81 kB / 1.48 GB, free: 6.395 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.6426, allocations: 240 kB / 1.48 GB, free: 6.16 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004186/0.6431, allocations: 350.8 kB / 1.481 GB, free: 5.816 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.6587, allocations: 6.818 MB / 1.487 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04382/0.7025, allocations: 24.27 MB / 1.511 GB, free: 6.113 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/0.7064, allocations: 2.284 MB / 1.513 GB, free: 3.844 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/0.7092, allocations: 1.771 MB / 1.515 GB, free: 2.078 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.7093, allocations: 22 kB / 1.515 GB, free: 2.055 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.7093, allocations: 52.55 kB / 1.515 GB, free: 1.996 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 4.057e-06/0.7093, allocations: 0 / 1.515 GB, free: 1.996 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.0253/0.7346, allocations: 9.675 MB / 1.525 GB, free: 8.305 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.7347, allocations: 73.34 kB / 1.525 GB, free: 8.219 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.7368, allocations: 1.453 MB / 1.526 GB, free: 6.766 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.737, allocations: 53.7 kB / 1.526 GB, free: 6.707 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.7387, allocations: 2.311 MB / 1.528 GB, free: 4.375 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.7394, allocations: 0.67 MB / 1.529 GB, free: 3.699 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006448/0.74, allocations: 412 kB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7402, allocations: 305.1 kB / 1.53 GB, free: 2.988 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.7419, allocations: 1.179 MB / 1.531 GB, free: 1.805 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.7443, allocations: 1.881 MB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.749, allocations: 3.371 MB / 1.536 GB, free: 11.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.749, allocations: 11.94 kB / 1.536 GB, free: 11.91 MB / 1.232 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008284/0.7573, allocations: 4.515 MB / 1.54 GB, free: 7.375 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.7573, allocations: 19.98 kB / 1.54 GB, free: 7.355 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/0.7573, allocations: 24.84 kB / 1.54 GB, free: 7.332 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003856/0.7612, allocations: 1.573 MB / 1.542 GB, free: 5.75 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7625, allocations: 355.3 kB / 1.542 GB, free: 5.402 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02488/0.7874, allocations: 17.82 MB / 1.56 GB, free: 3.176 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.7892, allocations: 112.3 kB / 1.56 GB, free: 3.066 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.7894, allocations: 100 kB / 1.56 GB, free: 2.969 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 (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.003419/0.7928, allocations: 1.898 MB / 1.562 GB, free: 1.059 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.7933, allocations: 222.6 kB / 1.562 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007228/0.8005, allocations: 4.043 MB / 1.566 GB, free: 12.76 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.8006, allocations: 20 kB / 1.566 GB, free: 12.74 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-05/0.8006, allocations: 20 kB / 1.566 GB, free: 12.72 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/0.8006, allocations: 11.95 kB / 1.566 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.8164, allocations: 7.84 MB / 1.574 GB, free: 4.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.8164, allocations: 4.562 kB / 1.574 GB, free: 4.746 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/0.8173, allocations: 195.6 kB / 1.574 GB, free: 4.555 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/0.8208, allocations: 1.343 MB / 1.575 GB, free: 3.203 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.8209, allocations: 40 kB / 1.575 GB, free: 3.164 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02304/0.844, allocations: 16.61 MB / 1.591 GB, free: 2.145 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.844, allocations: 7.938 kB / 1.591 GB, free: 2.137 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.8515, allocations: 4.016 MB / 1.595 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.8531, allocations: 462.4 kB / 1.596 GB, free: 13.57 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.8534, allocations: 40 kB / 1.596 GB, free: 13.53 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/0.8544, allocations: 87.89 kB / 1.596 GB, free: 13.45 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004837/0.8548, allocations: 173.5 kB / 1.596 GB, free: 13.27 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.855, allocations: 48 kB / 1.596 GB, free: 13.23 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001392/0.8564, allocations: 0.9271 MB / 1.597 GB, free: 12.31 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.8564, allocations: 0 / 1.597 GB, free: 12.31 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003296/0.8597, allocations: 0.9843 MB / 1.598 GB, free: 11.32 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 (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.0003133/0.86, allocations: 147 kB / 1.598 GB, free: 11.17 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007431/0.8674, allocations: 4.167 MB / 1.602 GB, free: 6.957 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.8674, allocations: 0 / 1.602 GB, free: 6.957 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/0.872, allocations: 2.576 MB / 1.605 GB, free: 4.332 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.8756, allocations: 0.7535 MB / 1.605 GB, free: 3.609 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8334/1.709, allocations: 9.642 MB / 1.615 GB, free: 220 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006701/1.716, allocations: 3.131 MB / 1.618 GB, free: 219.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/1.716, allocations: 125.3 kB / 1.618 GB, free: 219.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.713e-06/1.716, allocations: 0 / 1.618 GB, free: 219.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1571/1.873, allocations: 161.3 MB / 1.776 GB, free: 89.75 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.95746911596507]