Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001646/0.001646, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002063/0.002063, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.643/1.643, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.159/3.159, allocations: 0.4899 GB / 0.7915 GB, free: 33.31 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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.002151/0.002151, allocations: 70.09 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3269, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02545/0.3524, allocations: 20.59 MB / 1.341 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3637, allocations: 6.558 MB / 1.348 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.365, allocations: 115.1 kB / 1.348 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005608/0.3706, allocations: 2.281 MB / 1.35 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.3735, allocations: 1.244 MB / 1.351 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.3764, allocations: 1.286 MB / 1.353 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005553/0.382, allocations: 4.842 MB / 1.357 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005473/0.3874, allocations: 4.244 MB / 1.361 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.3906, allocations: 2.146 MB / 1.364 GB, free: 7.301 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/0.3943, allocations: 2.469 MB / 1.366 GB, free: 4.824 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007766/0.3951, allocations: 435.9 kB / 1.366 GB, free: 4.398 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.3971, allocations: 1.022 MB / 1.367 GB, free: 3.375 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.399, allocations: 1.715 MB / 1.369 GB, free: 1.656 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.4015, allocations: 1.906 MB / 1.371 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007805/0.4093, allocations: 6.537 MB / 1.377 GB, free: 9.184 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4093, allocations: 4 kB / 1.377 GB, free: 9.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4093, allocations: 0 / 1.377 GB, free: 9.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001444/0.4095, allocations: 0 / 1.377 GB, free: 9.18 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007029/0.4165, allocations: 3.537 MB / 1.381 GB, free: 5.574 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4166, allocations: 11.98 kB / 1.381 GB, free: 5.562 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.42, allocations: 0.6584 MB / 1.381 GB, free: 4.902 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.4236, allocations: 2.046 MB / 1.383 GB, free: 2.797 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.4238, allocations: 234.3 kB / 1.384 GB, free: 2.566 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004777/0.4243, allocations: 292.3 kB / 1.384 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007777/0.432, allocations: 4.886 MB / 1.389 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.901e-05/0.4321, allocations: 11.92 kB / 1.389 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.4324, allocations: 136 kB / 1.389 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004393/0.4329, allocations: 225.7 kB / 1.389 GB, free: 12.83 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006126/0.439, allocations: 3.746 MB / 1.393 GB, free: 9.07 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/0.4628, allocations: 21.45 MB / 1.414 GB, free: 1.629 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.4647, allocations: 1.232 MB / 1.415 GB, free: 396 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.4662, allocations: 0.9908 MB / 1.416 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.71e-05/0.4663, allocations: 13 kB / 1.416 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.4664, allocations: 43.56 kB / 1.416 GB, free: 15.33 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 3.186e-06/0.4664, allocations: 0 / 1.416 GB, free: 15.33 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.02788/0.4942, allocations: 8.653 MB / 1.424 GB, free: 6.625 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4943, allocations: 68.72 kB / 1.424 GB, free: 6.547 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.4961, allocations: 1.138 MB / 1.425 GB, free: 5.402 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4962, allocations: 49.7 kB / 1.426 GB, free: 5.348 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.4973, allocations: 1.327 MB / 1.427 GB, free: 4.008 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/0.4978, allocations: 0.4996 MB / 1.427 GB, free: 3.504 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/0.4983, allocations: 291.5 kB / 1.428 GB, free: 3.211 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4984, allocations: 309 kB / 1.428 GB, free: 2.906 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.4999, allocations: 0.9096 MB / 1.429 GB, free: 1.996 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.5017, allocations: 1.334 MB / 1.43 GB, free: 500 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.5051, allocations: 2.422 MB / 1.432 GB, free: 13.9 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.5051, allocations: 4 kB / 1.432 GB, free: 13.89 MB / 1.139 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006755/0.5119, allocations: 3.433 MB / 1.436 GB, free: 10.44 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5119, allocations: 11.94 kB / 1.436 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.5119, allocations: 12 kB / 1.436 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/0.5155, allocations: 1.186 MB / 1.437 GB, free: 9.227 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/0.5164, allocations: 259.6 kB / 1.437 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/0.5365, allocations: 13.85 MB / 1.451 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.5379, allocations: 87.97 kB / 1.451 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.5381, allocations: 67.98 kB / 1.451 GB, free: 10.55 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002394/0.5405, allocations: 1.113 MB / 1.452 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/0.5411, allocations: 171 kB / 1.452 GB, free: 9.258 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/0.5477, allocations: 3.138 MB / 1.455 GB, free: 6.098 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.5477, allocations: 16 kB / 1.455 GB, free: 6.082 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/0.5478, allocations: 15.94 kB / 1.455 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.5478, allocations: 7.969 kB / 1.455 GB, free: 6.059 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.5597, allocations: 6.206 MB / 1.461 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5597, allocations: 4 kB / 1.461 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.5603, allocations: 143.8 kB / 1.461 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003266/0.5636, allocations: 1.069 MB / 1.463 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.5637, allocations: 24 kB / 1.463 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.5832, allocations: 13.55 MB / 1.476 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5832, allocations: 4 kB / 1.476 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/0.5893, allocations: 3.124 MB / 1.479 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009109/0.5902, allocations: 435.9 kB / 1.479 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.5905, allocations: 27.94 kB / 1.479 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.5915, allocations: 83.89 kB / 1.479 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.5919, allocations: 124.7 kB / 1.479 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.592, allocations: 44 kB / 1.48 GB, free: 12.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001344/0.5933, allocations: 0.7632 MB / 1.48 GB, free: 11.8 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5933, allocations: 0 / 1.48 GB, free: 11.8 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002322/0.5957, allocations: 0.6562 MB / 1.481 GB, free: 11.14 MB / 1.186 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.596, allocations: 139.1 kB / 1.481 GB, free: 11 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005473/0.6014, allocations: 3.01 MB / 1.484 GB, free: 7.953 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.6014, allocations: 128 / 1.484 GB, free: 7.953 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003397/0.6048, allocations: 1.892 MB / 1.486 GB, free: 6.023 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.6076, allocations: 0.5033 MB / 1.486 GB, free: 5.531 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.6203, allocations: 5.455 MB / 1.492 GB, free: 15.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003387/0.6237, allocations: 2.336 MB / 1.494 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001127/0.6248, allocations: 346.1 kB / 1.494 GB, free: 13.28 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.6251, allocations: 95.44 kB / 1.494 GB, free: 13.19 MB / 1.201 GB Notification: Performance of SimCode: time 1.273e-06/0.6251, allocations: 0 / 1.494 GB, free: 13.19 MB / 1.201 GB Notification: Performance of Templates: time 0.05872/0.6838, allocations: 33.6 MB / 1.527 GB, free: 12.04 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 9.982219253201038]