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.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.001732/0.001732, allocations: 104.5 kB / 18.19 MB, free: 3.879 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.001994/0.001994, allocations: 188.4 kB / 21.34 MB, free: 0.7383 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.496/1.496, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.153/3.153, allocations: 489.7 MB / 0.7761 GB, free: 33.63 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 69.27 kB / 1.127 GB, free: 36.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3781, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04258/0.4207, allocations: 35.46 MB / 1.33 GB, free: 8.168 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.4415, allocations: 11.63 MB / 1.341 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.4453, allocations: 163.2 kB / 1.341 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.4572, allocations: 4.313 MB / 1.345 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.4643, allocations: 2.088 MB / 1.347 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007655/0.4719, allocations: 2.465 MB / 1.35 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.4843, allocations: 8.448 MB / 1.358 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/0.503, allocations: 8.436 MB / 1.366 GB, free: 2.438 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008119/0.5111, allocations: 3.794 MB / 1.37 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008616/0.5197, allocations: 4.424 MB / 1.374 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003241/0.5229, allocations: 0.7812 MB / 1.375 GB, free: 9.414 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006784/0.5297, allocations: 2.067 MB / 1.377 GB, free: 7.344 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006275/0.536, allocations: 3.133 MB / 1.38 GB, free: 4.203 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.009059/0.545, allocations: 3.396 MB / 1.383 GB, free: 0.793 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01977/0.5648, allocations: 12.01 MB / 1.395 GB, free: 4.742 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5648, allocations: 0 / 1.395 GB, free: 4.742 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.265e-06/0.5648, allocations: 0 / 1.395 GB, free: 4.742 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004628/0.5653, allocations: 0 / 1.395 GB, free: 4.742 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.01986/0.5852, allocations: 5.946 MB / 1.401 GB, free: 14.71 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5852, allocations: 16.03 kB / 1.401 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007735/0.5929, allocations: 1.086 MB / 1.402 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009151/0.6021, allocations: 3.463 MB / 1.405 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/0.6026, allocations: 415.5 kB / 1.406 GB, free: 9.684 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.6052, allocations: 0.5432 MB / 1.406 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.6304, allocations: 9.079 MB / 1.415 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/0.6307, allocations: 27.78 kB / 1.415 GB, free: 15.71 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/0.6328, allocations: 240 kB / 1.415 GB, free: 15.48 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004996/0.6333, allocations: 350.7 kB / 1.416 GB, free: 15.14 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.6505, allocations: 6.83 MB / 1.422 GB, free: 8.297 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05707/0.7076, allocations: 39.86 MB / 1.461 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.712, allocations: 2.907 MB / 1.464 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/0.7149, allocations: 1.79 MB / 1.466 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.7151, allocations: 22 kB / 1.466 GB, free: 7.863 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.7151, allocations: 48.56 kB / 1.466 GB, free: 7.809 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 3.897e-06/0.7151, allocations: 0 / 1.466 GB, free: 7.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02677/0.7419, allocations: 9.992 MB / 1.476 GB, free: 13.73 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.742, allocations: 73.41 kB / 1.476 GB, free: 13.64 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.7451, allocations: 1.526 MB / 1.477 GB, free: 12.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.7454, allocations: 53.7 kB / 1.477 GB, free: 12.01 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.7473, allocations: 2.327 MB / 1.48 GB, free: 9.66 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008594/0.7481, allocations: 0.6623 MB / 1.48 GB, free: 8.992 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008655/0.749, allocations: 412.1 kB / 1.481 GB, free: 8.582 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7491, allocations: 309 kB / 1.481 GB, free: 8.277 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.7511, allocations: 1.176 MB / 1.482 GB, free: 7.098 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.7538, allocations: 1.889 MB / 1.484 GB, free: 4.891 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/0.7587, allocations: 3.367 MB / 1.487 GB, free: 1.211 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-05/0.7587, allocations: 4 kB / 1.487 GB, free: 1.207 MB / 1.186 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008905/0.7676, allocations: 4.535 MB / 1.492 GB, free: 12.65 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.7677, allocations: 12 kB / 1.492 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-05/0.7677, allocations: 24.88 kB / 1.492 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/0.7718, allocations: 1.581 MB / 1.493 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7731, allocations: 355.4 kB / 1.494 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02679/0.7999, allocations: 18.61 MB / 1.512 GB, free: 7.508 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.8022, allocations: 115.9 kB / 1.512 GB, free: 7.395 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005044/0.8027, allocations: 100.4 kB / 1.512 GB, free: 7.297 MB / 1.217 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.004707/0.8074, allocations: 1.898 MB / 1.514 GB, free: 5.387 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008582/0.8083, allocations: 234.5 kB / 1.514 GB, free: 5.156 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/0.8162, allocations: 4.039 MB / 1.518 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.8163, allocations: 20 kB / 1.518 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.8163, allocations: 20 kB / 1.518 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.8163, allocations: 11.97 kB / 1.518 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/0.8357, allocations: 9.419 MB / 1.527 GB, free: 7.367 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.8357, allocations: 4 kB / 1.527 GB, free: 7.363 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.8366, allocations: 179.7 kB / 1.527 GB, free: 7.188 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003785/0.8404, allocations: 1.352 MB / 1.529 GB, free: 5.828 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.8406, allocations: 36 kB / 1.529 GB, free: 5.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02712/0.8677, allocations: 17.37 MB / 1.546 GB, free: 3.867 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.8677, allocations: 11.94 kB / 1.546 GB, free: 3.855 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008429/0.8761, allocations: 4.04 MB / 1.55 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.8777, allocations: 0.5385 MB / 1.55 GB, free: 15.17 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/0.8783, allocations: 39.98 kB / 1.55 GB, free: 15.13 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.8796, allocations: 87.89 kB / 1.55 GB, free: 15.04 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/0.8802, allocations: 157.7 kB / 1.55 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.8803, allocations: 48 kB / 1.551 GB, free: 14.84 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002069/0.8824, allocations: 1.005 MB / 1.551 GB, free: 13.81 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8824, allocations: 0 / 1.551 GB, free: 13.81 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004278/0.8866, allocations: 0.9882 MB / 1.552 GB, free: 12.82 MB / 1.264 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.0004359/0.8871, allocations: 147.6 kB / 1.553 GB, free: 12.67 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00821/0.8953, allocations: 4.167 MB / 1.557 GB, free: 8.453 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.8953, allocations: 8.062 kB / 1.557 GB, free: 8.445 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004914/0.9002, allocations: 2.583 MB / 1.559 GB, free: 5.816 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/0.9043, allocations: 0.7722 MB / 1.56 GB, free: 5.074 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/0.9273, allocations: 9.642 MB / 1.569 GB, free: 11.33 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00703/0.9343, allocations: 3.662 MB / 1.573 GB, free: 7.637 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/0.935, allocations: 135.4 kB / 1.573 GB, free: 7.504 MB / 1.279 GB Notification: Performance of SimCode: time 1.663e-06/0.935, allocations: 0 / 1.573 GB, free: 7.504 MB / 1.279 GB Notification: Performance of Templates: time 0.9523/1.887, allocations: 159.8 MB / 1.729 GB, free: 203.2 MB / 1.311 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] 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