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.002121/0.002121, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001516/0.001516, allocations: 220.6 kB / 23 MB, free: 4.914 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.769/2.769, allocations: 476 MB / 0.7707 GB, free: 4.719 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.002208/0.002208, allocations: 68.97 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.417, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04555/0.4625, allocations: 33.76 MB / 1.317 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02171/0.4842, allocations: 11.55 MB / 1.328 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005282/0.4895, allocations: 210.4 kB / 1.328 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01357/0.5031, allocations: 4.276 MB / 1.332 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.5113, allocations: 2.092 MB / 1.334 GB, free: 7.879 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008115/0.5194, allocations: 2.408 MB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01547/0.5349, allocations: 8.461 MB / 1.345 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01211/0.547, allocations: 6.169 MB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008332/0.5553, allocations: 3.868 MB / 1.355 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009264/0.5646, allocations: 4.155 MB / 1.359 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002987/0.5675, allocations: 0.7773 MB / 1.36 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006538/0.5741, allocations: 1.903 MB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.006347/0.5804, allocations: 3.137 MB / 1.365 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.008435/0.5889, allocations: 2.743 MB / 1.367 GB, free: 6.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02194/0.6108, allocations: 12.07 MB / 1.379 GB, free: 9.961 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.6108, allocations: 0 / 1.379 GB, free: 9.961 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.509e-06/0.6108, allocations: 4 kB / 1.379 GB, free: 9.957 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004655/0.6113, allocations: 4 kB / 1.379 GB, free: 9.953 MB / 1.076 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.02215/0.6334, allocations: 5.859 MB / 1.385 GB, free: 4.031 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6335, allocations: 12.03 kB / 1.385 GB, free: 4.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007555/0.641, allocations: 1.086 MB / 1.386 GB, free: 2.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.6507, allocations: 3.419 MB / 1.389 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/0.6512, allocations: 419.3 kB / 1.39 GB, free: 15.04 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002475/0.6537, allocations: 0.5432 MB / 1.39 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.6772, allocations: 9.372 MB / 1.399 GB, free: 4.727 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/0.6774, allocations: 27.78 kB / 1.399 GB, free: 4.699 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007773/0.6782, allocations: 244 kB / 1.4 GB, free: 4.461 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004423/0.6786, allocations: 350.8 kB / 1.4 GB, free: 4.117 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.6944, allocations: 6.818 MB / 1.407 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/0.7373, allocations: 24.25 MB / 1.43 GB, free: 4.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.7412, allocations: 2.308 MB / 1.433 GB, free: 2.129 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.744, allocations: 1.763 MB / 1.434 GB, free: 372 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.7441, allocations: 18 kB / 1.434 GB, free: 352 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.7441, allocations: 56.5 kB / 1.434 GB, free: 288 kB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 4.428e-06/0.7441, allocations: 4 kB / 1.434 GB, free: 284 kB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02604/0.7702, allocations: 9.671 MB / 1.444 GB, free: 6.59 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.7702, allocations: 69.41 kB / 1.444 GB, free: 6.508 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.7726, allocations: 1.449 MB / 1.445 GB, free: 5.059 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.7728, allocations: 57.69 kB / 1.445 GB, free: 4.996 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.7749, allocations: 2.311 MB / 1.448 GB, free: 2.664 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008115/0.7757, allocations: 0.67 MB / 1.448 GB, free: 1.988 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/0.7764, allocations: 412.1 kB / 1.449 GB, free: 1.578 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.7766, allocations: 305.1 kB / 1.449 GB, free: 1.277 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.7786, allocations: 1.179 MB / 1.45 GB, free: 96 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.7812, allocations: 1.885 MB / 1.452 GB, free: 13.89 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/0.7861, allocations: 3.367 MB / 1.455 GB, free: 10.22 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.7861, allocations: 12 kB / 1.455 GB, free: 10.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00861/0.7947, allocations: 4.516 MB / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.7948, allocations: 22.56 kB / 1.46 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.846e-05/0.7948, allocations: 24 kB / 1.46 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/0.7989, allocations: 1.582 MB / 1.461 GB, free: 4.035 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.8004, allocations: 355.4 kB / 1.462 GB, free: 3.688 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02898/0.8294, allocations: 17.8 MB / 1.479 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.8315, allocations: 123.9 kB / 1.479 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.8317, allocations: 96 kB / 1.479 GB, free: 1.266 MB / 1.17 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.003792/0.8355, allocations: 1.89 MB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/0.8361, allocations: 230.6 kB / 1.481 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007617/0.8437, allocations: 4.048 MB / 1.485 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.8437, allocations: 16 kB / 1.485 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/0.8437, allocations: 20 kB / 1.485 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.8438, allocations: 7.969 kB / 1.485 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.8601, allocations: 7.837 MB / 1.493 GB, free: 3.047 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8601, allocations: 7.938 kB / 1.493 GB, free: 3.039 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.861, allocations: 187.7 kB / 1.493 GB, free: 2.855 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.8645, allocations: 1.349 MB / 1.494 GB, free: 1.496 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.8647, allocations: 36 kB / 1.494 GB, free: 1.461 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/0.8888, allocations: 16.61 MB / 1.511 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/0.8888, allocations: 15.92 kB / 1.511 GB, free: 444 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/0.8965, allocations: 4.02 MB / 1.515 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.8981, allocations: 458.5 kB / 1.515 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/0.8984, allocations: 36 kB / 1.515 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.8994, allocations: 87.89 kB / 1.515 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005663/0.8999, allocations: 169.5 kB / 1.515 GB, free: 11.58 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.9001, allocations: 48 kB / 1.515 GB, free: 11.54 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001436/0.9015, allocations: 0.9193 MB / 1.516 GB, free: 10.62 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9015, allocations: 0 / 1.516 GB, free: 10.62 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003551/0.905, allocations: 0.9844 MB / 1.517 GB, free: 9.641 MB / 1.217 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.0003278/0.9054, allocations: 155 kB / 1.517 GB, free: 9.477 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007621/0.913, allocations: 4.162 MB / 1.521 GB, free: 5.266 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.913, allocations: 0 / 1.521 GB, free: 5.266 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004826/0.9178, allocations: 2.58 MB / 1.524 GB, free: 2.637 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.9214, allocations: 0.7635 MB / 1.525 GB, free: 1.906 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.9411, allocations: 9.651 MB / 1.534 GB, free: 8.16 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005573/0.9467, allocations: 3.125 MB / 1.537 GB, free: 4.992 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.9473, allocations: 127.4 kB / 1.537 GB, free: 4.867 MB / 1.232 GB Notification: Performance of SimCode: time 2.023e-06/0.9473, allocations: 0 / 1.537 GB, free: 4.867 MB / 1.232 GB Notification: Performance of Templates: time 1.024/1.971, allocations: 161.3 MB / 1.695 GB, free: 226.3 MB / 1.295 GB " [Timeout remaining time 297] 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/jenkins1/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: 22.636326196137816]