Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.00139/0.00139, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001589/0.001589, allocations: 212.1 kB / 23 MB, free: 4.934 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [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.002083/0.002083, allocations: 66 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3827, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0344/0.4171, allocations: 25.57 MB / 1.352 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.4338, allocations: 8.095 MB / 1.36 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.437, allocations: 154.8 kB / 1.36 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008321/0.4453, allocations: 2.761 MB / 1.363 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.4511, allocations: 1.675 MB / 1.364 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/0.4566, allocations: 1.69 MB / 1.366 GB, free: 8.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01002/0.4666, allocations: 6.123 MB / 1.372 GB, free: 2.762 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006623/0.4733, allocations: 3.785 MB / 1.376 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00574/0.479, allocations: 2.672 MB / 1.378 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.4845, allocations: 2.998 MB / 1.381 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.4857, allocations: 0.5078 MB / 1.382 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.4885, allocations: 1.217 MB / 1.383 GB, free: 7.469 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.4909, allocations: 2.1 MB / 1.385 GB, free: 5.363 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.4937, allocations: 1.934 MB / 1.387 GB, free: 3.422 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009571/0.5033, allocations: 8.111 MB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5033, allocations: 0 / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5033, allocations: 0 / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002102/0.5035, allocations: 0 / 1.395 GB, free: 11.29 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009712/0.5132, allocations: 4.26 MB / 1.399 GB, free: 6.973 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.5133, allocations: 8.031 kB / 1.399 GB, free: 6.965 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.5179, allocations: 0.8257 MB / 1.4 GB, free: 6.137 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00654/0.5245, allocations: 2.53 MB / 1.402 GB, free: 3.543 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.5247, allocations: 267.7 kB / 1.403 GB, free: 3.281 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.5258, allocations: 376.6 kB / 1.403 GB, free: 2.914 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.5388, allocations: 6.452 MB / 1.409 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.5389, allocations: 19.83 kB / 1.409 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/0.5393, allocations: 160 kB / 1.409 GB, free: 11.92 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006308/0.54, allocations: 282.9 kB / 1.41 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00877/0.5487, allocations: 4.508 MB / 1.414 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.5762, allocations: 17.41 MB / 1.431 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.578, allocations: 1.055 MB / 1.432 GB, free: 4.141 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.5794, allocations: 0.9493 MB / 1.433 GB, free: 3.191 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.5795, allocations: 13 kB / 1.433 GB, free: 3.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.5795, allocations: 47.56 kB / 1.433 GB, free: 3.125 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.597e-06/0.5795, allocations: 0 / 1.433 GB, free: 3.125 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02339/0.6029, allocations: 9.096 MB / 1.442 GB, free: 9.969 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.603, allocations: 68.72 kB / 1.442 GB, free: 9.887 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.6058, allocations: 1.401 MB / 1.443 GB, free: 8.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.606, allocations: 49.7 kB / 1.443 GB, free: 8.426 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.6075, allocations: 1.734 MB / 1.445 GB, free: 6.676 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006769/0.6082, allocations: 491.8 kB / 1.446 GB, free: 6.191 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006051/0.6088, allocations: 323.4 kB / 1.446 GB, free: 5.867 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6089, allocations: 301.1 kB / 1.446 GB, free: 5.57 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.6105, allocations: 0.9174 MB / 1.447 GB, free: 4.652 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.6125, allocations: 1.467 MB / 1.449 GB, free: 2.949 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/0.6163, allocations: 2.546 MB / 1.451 GB, free: 168 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.6163, allocations: 8 kB / 1.451 GB, free: 160 kB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006793/0.6231, allocations: 3.263 MB / 1.454 GB, free: 12.85 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.6232, allocations: 12 kB / 1.454 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.6232, allocations: 23.94 kB / 1.454 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.6258, allocations: 0.7458 MB / 1.455 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.6276, allocations: 383.4 kB / 1.455 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/0.6461, allocations: 15.82 MB / 1.471 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.6477, allocations: 95.91 kB / 1.471 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.6479, allocations: 83.98 kB / 1.471 GB, free: 10.75 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002399/0.6503, allocations: 1.306 MB / 1.472 GB, free: 9.438 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.6507, allocations: 202.8 kB / 1.472 GB, free: 9.238 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/0.6562, allocations: 2.757 MB / 1.475 GB, free: 6.434 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.6563, allocations: 11.97 kB / 1.475 GB, free: 6.422 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6563, allocations: 0 / 1.475 GB, free: 6.422 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.6573, allocations: 370.6 kB / 1.475 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.6576, allocations: 31.92 kB / 1.476 GB, free: 6.027 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.6584, allocations: 71.91 kB / 1.476 GB, free: 5.957 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.6587, allocations: 117.2 kB / 1.476 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006874/0.6655, allocations: 2.976 MB / 1.479 GB, free: 2.836 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00493/0.6705, allocations: 3.247 MB / 1.482 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001475/0.6719, allocations: 0.9197 MB / 1.483 GB, free: 14.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001514/0.6734, allocations: 0.9048 MB / 1.484 GB, free: 13.74 MB / 1.186 GB Notification: Performance of Backend: time 6.51e-07/0.6734, allocations: 0 / 1.484 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008628/0.6821, allocations: 3.113 MB / 1.487 GB, free: 10.51 MB / 1.186 GB Notification: Performance of SimCode: time 0.01451/0.6966, allocations: 7.235 MB / 1.494 GB, free: 3.238 MB / 1.186 GB Notification: Performance of Templates: time 0.08128/0.7779, allocations: 45.62 MB / 1.538 GB, free: 6.387 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.20486945900484]