Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001444/0.001444, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001613/0.001613, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.OnePhase.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.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.001994/0.001994, allocations: 72 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008881/0.3859, allocations: 6.484 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005554/0.3914, allocations: 3.044 MB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005542/0.392, allocations: 39.69 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.3946, allocations: 0.9435 MB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3959, allocations: 0.5206 MB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3971, allocations: 422.8 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.3985, allocations: 1.229 MB / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.3993, allocations: 0.541 MB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.4, allocations: 494.3 kB / 1.341 GB, free: 3.191 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.4007, allocations: 0.5097 MB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.4008, allocations: 68 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.4015, allocations: 343.3 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.4018, allocations: 315.1 kB / 1.342 GB, free: 1.969 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.4022, allocations: 378.2 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.4036, allocations: 1.23 MB / 1.343 GB, free: 372 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4036, allocations: 7.938 kB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4036, allocations: 0 / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.4036, allocations: 0 / 1.343 GB, free: 364 kB / 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.001951/0.4056, allocations: 1.104 MB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4056, allocations: 12.03 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.4071, allocations: 244.1 kB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.4081, allocations: 0.5307 MB / 1.345 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.4081, allocations: 45.67 kB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4082, allocations: 68.36 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.4099, allocations: 1.336 MB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.4099, allocations: 3.938 kB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.41, allocations: 36 kB / 1.347 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.4101, allocations: 85.25 kB / 1.347 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.4112, allocations: 0.7465 MB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.4161, allocations: 4.527 MB / 1.352 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.417, allocations: 0.5116 MB / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.4175, allocations: 290 kB / 1.353 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.4175, allocations: 8.375 kB / 1.353 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.4175, allocations: 39 kB / 1.353 GB, free: 6.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.976e-06/0.4175, allocations: 0 / 1.353 GB, free: 6.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003797/0.4213, allocations: 1.679 MB / 1.354 GB, free: 4.684 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4214, allocations: 55.84 kB / 1.354 GB, free: 4.617 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.422, allocations: 0.5066 MB / 1.355 GB, free: 4.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.422, allocations: 37.7 kB / 1.355 GB, free: 4.055 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.4223, allocations: 423.9 kB / 1.355 GB, free: 3.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4224, allocations: 182.4 kB / 1.355 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.4226, allocations: 134.5 kB / 1.356 GB, free: 3.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4228, allocations: 370.7 kB / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.4232, allocations: 273.8 kB / 1.356 GB, free: 2.684 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.4238, allocations: 493.5 kB / 1.357 GB, free: 2.102 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.4249, allocations: 0.8122 MB / 1.357 GB, free: 1.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4249, allocations: 4 kB / 1.357 GB, free: 1.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001789/0.4267, allocations: 1.07 MB / 1.358 GB, free: 100 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4267, allocations: 11.94 kB / 1.359 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4267, allocations: 8 kB / 1.359 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008615/0.4276, allocations: 279.2 kB / 1.359 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.428, allocations: 123.8 kB / 1.359 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006523/0.4346, allocations: 6.606 MB / 1.365 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.4352, allocations: 35.97 kB / 1.365 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.4352, allocations: 28 kB / 1.365 GB, free: 8.586 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.0003951/0.4356, allocations: 257.6 kB / 1.366 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4357, allocations: 71.56 kB / 1.366 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.4373, allocations: 0.8685 MB / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4373, allocations: 4 kB / 1.367 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4373, allocations: 4.188 kB / 1.367 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.4374, allocations: 3.984 kB / 1.367 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.4398, allocations: 1.525 MB / 1.368 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4398, allocations: 7.875 kB / 1.368 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.4401, allocations: 59.94 kB / 1.368 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.4408, allocations: 271.3 kB / 1.368 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.4409, allocations: 8 kB / 1.368 GB, free: 5.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006443/0.4473, allocations: 6.582 MB / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4473, allocations: 8.156 kB / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4489, allocations: 0.9724 MB / 1.376 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.4492, allocations: 115.5 kB / 1.376 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.4493, allocations: 11.94 kB / 1.376 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.4496, allocations: 27.97 kB / 1.376 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.4497, allocations: 47.86 kB / 1.376 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4498, allocations: 16 kB / 1.376 GB, free: 13.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004048/0.4502, allocations: 338.8 kB / 1.376 GB, free: 12.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4502, allocations: 0 / 1.376 GB, free: 12.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008476/0.451, allocations: 224 kB / 1.377 GB, free: 12.62 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.0001599/0.4512, allocations: 119.1 kB / 1.377 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.4532, allocations: 1.232 MB / 1.378 GB, free: 11.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4532, allocations: 0 / 1.378 GB, free: 11.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.4544, allocations: 0.862 MB / 1.379 GB, free: 10.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.4554, allocations: 219.5 kB / 1.379 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.4578, allocations: 1.408 MB / 1.38 GB, free: 8.641 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.4582, allocations: 423.3 kB / 1.381 GB, free: 8.199 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4584, allocations: 43.42 kB / 1.381 GB, free: 8.156 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.4584, allocations: 4 kB / 1.381 GB, free: 8.152 MB / 1.076 GB Notification: Performance of Templates: time 0.02634/0.4847, allocations: 20.7 MB / 1.401 GB, free: 3.488 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.28291135490872]