Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001523/0.001523, 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.001849/0.001849, allocations: 211.8 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.343/3.343, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.002178/0.002178, allocations: 68.03 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4119, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01178/0.4236, allocations: 6.558 MB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006803/0.4305, allocations: 3.067 MB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.4313, allocations: 39.69 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.4343, allocations: 0.9637 MB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.436, allocations: 0.5129 MB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.4374, allocations: 453.8 kB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.4397, allocations: 1.232 MB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.4409, allocations: 0.5333 MB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.4419, allocations: 0.4904 MB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008615/0.4428, allocations: 0.5136 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4429, allocations: 64 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.4437, allocations: 339.3 kB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.4441, allocations: 319.1 kB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.4446, allocations: 374.2 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.4463, allocations: 1.241 MB / 1.343 GB, free: 1.145 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.4463, allocations: 0 / 1.343 GB, free: 1.145 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4463, allocations: 0 / 1.343 GB, free: 1.145 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.4463, allocations: 3.938 kB / 1.343 GB, free: 1.141 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002361/0.4487, allocations: 1.12 MB / 1.344 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4487, allocations: 8.031 kB / 1.344 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.4503, allocations: 240.1 kB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4514, allocations: 0.536 MB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.4515, allocations: 45.67 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4516, allocations: 64.36 kB / 1.345 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.4534, allocations: 1.34 MB / 1.346 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.4534, allocations: 11.89 kB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.4535, allocations: 35.98 kB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.4537, allocations: 85.19 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.4549, allocations: 0.7504 MB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.4604, allocations: 4.531 MB / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4615, allocations: 0.5085 MB / 1.352 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.4619, allocations: 282 kB / 1.352 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.4619, allocations: 4.438 kB / 1.352 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.462, allocations: 39 kB / 1.352 GB, free: 7.145 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.986e-06/0.462, allocations: 3.938 kB / 1.352 GB, free: 7.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003998/0.466, allocations: 1.686 MB / 1.354 GB, free: 5.438 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.466, allocations: 55.84 kB / 1.354 GB, free: 5.371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.4667, allocations: 0.5145 MB / 1.354 GB, free: 4.848 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.4667, allocations: 37.7 kB / 1.354 GB, free: 4.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.467, allocations: 427.9 kB / 1.355 GB, free: 4.379 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.4672, allocations: 178.4 kB / 1.355 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.4674, allocations: 130.6 kB / 1.355 GB, free: 4.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4676, allocations: 370.7 kB / 1.355 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.468, allocations: 281.8 kB / 1.355 GB, free: 3.426 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.4687, allocations: 493.4 kB / 1.356 GB, free: 2.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.4698, allocations: 0.8045 MB / 1.357 GB, free: 1.949 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4698, allocations: 3.938 kB / 1.357 GB, free: 1.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001935/0.4717, allocations: 1.074 MB / 1.358 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4718, allocations: 11.94 kB / 1.358 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.4718, allocations: 8 kB / 1.358 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008649/0.4726, allocations: 283.6 kB / 1.358 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.4731, allocations: 127.8 kB / 1.358 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007297/0.4804, allocations: 6.59 MB / 1.365 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.4811, allocations: 39.95 kB / 1.365 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.4812, allocations: 31.98 kB / 1.365 GB, free: 9.336 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0004235/0.4816, allocations: 253.7 kB / 1.365 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4817, allocations: 67.58 kB / 1.365 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4833, allocations: 0.8725 MB / 1.366 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4834, allocations: 8.031 kB / 1.366 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4834, allocations: 11.98 kB / 1.366 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4834, allocations: 0 / 1.366 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.486, allocations: 1.529 MB / 1.367 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.486, allocations: 0 / 1.367 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.4863, allocations: 63.89 kB / 1.367 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000761/0.4871, allocations: 263.4 kB / 1.368 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.4871, allocations: 16 kB / 1.368 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006989/0.4941, allocations: 6.586 MB / 1.374 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4941, allocations: 0 / 1.374 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4958, allocations: 0.9687 MB / 1.375 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.4962, allocations: 119.4 kB / 1.375 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.4962, allocations: 15.94 kB / 1.375 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.4966, allocations: 40.02 kB / 1.375 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4967, allocations: 35.92 kB / 1.375 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.4968, allocations: 16 kB / 1.375 GB, free: 13.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004613/0.4972, allocations: 346.8 kB / 1.376 GB, free: 13.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4972, allocations: 0 / 1.376 GB, free: 13.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008735/0.4981, allocations: 224 kB / 1.376 GB, free: 13.36 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.4983, allocations: 120.9 kB / 1.376 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.5004, allocations: 1.232 MB / 1.377 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5004, allocations: 0 / 1.377 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.5018, allocations: 0.8619 MB / 1.378 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5028, allocations: 205.8 kB / 1.378 GB, free: 10.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.5053, allocations: 1.435 MB / 1.38 GB, free: 9.367 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.5058, allocations: 416.8 kB / 1.38 GB, free: 8.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.506, allocations: 43.44 kB / 1.38 GB, free: 8.887 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/0.506, allocations: 3.938 kB / 1.38 GB, free: 8.883 MB / 1.076 GB Notification: Performance of Templates: time 0.02861/0.5346, allocations: 20.91 MB / 1.4 GB, free: 4.016 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 14.801091738976538]