Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002214/0.002214, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002767/0.002767, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.793 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.841/2.841, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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.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_11_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_11_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.00212/0.00212, allocations: 67.2 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4005, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01127/0.4118, allocations: 6.488 MB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006439/0.4182, allocations: 3.04 MB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006538/0.4189, allocations: 35.69 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.4218, allocations: 0.9448 MB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.4233, allocations: 0.5284 MB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4245, allocations: 422 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.4262, allocations: 1.225 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009738/0.4272, allocations: 0.5334 MB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.4281, allocations: 0.4904 MB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.4291, allocations: 0.5058 MB / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.4293, allocations: 68 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007976/0.4301, allocations: 347.3 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.4305, allocations: 315.1 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.4311, allocations: 378.2 kB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.4329, allocations: 1.237 MB / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4329, allocations: 0 / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4329, allocations: 0 / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.56e-05/0.433, allocations: 0 / 1.299 GB, free: 11.39 MB / 0.9981 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.002379/0.4353, allocations: 1.112 MB / 1.3 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4354, allocations: 8.031 kB / 1.3 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.437, allocations: 240.1 kB / 1.3 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4382, allocations: 0.523 MB / 1.301 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.4383, allocations: 49.62 kB / 1.301 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4384, allocations: 64.36 kB / 1.301 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.4403, allocations: 1.336 MB / 1.302 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.4403, allocations: 11.94 kB / 1.302 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/0.4404, allocations: 31.94 kB / 1.302 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.4406, allocations: 85.25 kB / 1.303 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.4418, allocations: 0.7465 MB / 1.303 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.4473, allocations: 4.523 MB / 1.308 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4484, allocations: 0.5176 MB / 1.308 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.4489, allocations: 286 kB / 1.308 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4489, allocations: 4.438 kB / 1.308 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.449, allocations: 42.94 kB / 1.308 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.449, allocations: 0 / 1.308 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004023/0.453, allocations: 1.679 MB / 1.31 GB, free: 15.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.453, allocations: 55.84 kB / 1.31 GB, free: 15.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.4537, allocations: 0.5104 MB / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.4537, allocations: 37.7 kB / 1.311 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.454, allocations: 427.8 kB / 1.311 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.4542, allocations: 178.5 kB / 1.311 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.4544, allocations: 126.6 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4546, allocations: 370.7 kB / 1.312 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.4551, allocations: 277.8 kB / 1.312 GB, free: 13.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.4557, allocations: 0.4892 MB / 1.313 GB, free: 13.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.4569, allocations: 0.8044 MB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4569, allocations: 4 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001967/0.4589, allocations: 1.066 MB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4589, allocations: 11.94 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4589, allocations: 8 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000879/0.4598, allocations: 283.4 kB / 1.315 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.4603, allocations: 127.8 kB / 1.315 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00734/0.4676, allocations: 6.589 MB / 1.321 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.4683, allocations: 39.97 kB / 1.321 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.4683, allocations: 28 kB / 1.321 GB, free: 3.645 MB / 1.014 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.0004171/0.4687, allocations: 253.7 kB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4688, allocations: 63.62 kB / 1.322 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.4705, allocations: 0.8801 MB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4705, allocations: 4 kB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4706, allocations: 4.188 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.4706, allocations: 7.984 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.4734, allocations: 1.525 MB / 1.324 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.4734, allocations: 3.984 kB / 1.324 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.4737, allocations: 63.88 kB / 1.324 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007879/0.4744, allocations: 271.3 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.4745, allocations: 8 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007382/0.4819, allocations: 6.586 MB / 1.331 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4819, allocations: 3.938 kB / 1.331 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.4836, allocations: 0.9682 MB / 1.332 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.484, allocations: 107.7 kB / 1.332 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.4841, allocations: 15.94 kB / 1.332 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.4844, allocations: 23.97 kB / 1.332 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4845, allocations: 55.91 kB / 1.332 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.4846, allocations: 16 kB / 1.332 GB, free: 8.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000437/0.485, allocations: 342.8 kB / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.485, allocations: 0 / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008236/0.4858, allocations: 220 kB / 1.332 GB, free: 7.684 MB / 1.029 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.0001544/0.486, allocations: 111.1 kB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.4881, allocations: 1.24 MB / 1.334 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.4881, allocations: 4 kB / 1.334 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.4895, allocations: 0.8662 MB / 1.335 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.4905, allocations: 208.4 kB / 1.335 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.4929, allocations: 1.355 MB / 1.336 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.4934, allocations: 415.3 kB / 1.336 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.4937, allocations: 113.4 kB / 1.337 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4938, allocations: 43.42 kB / 1.337 GB, free: 3.164 MB / 1.029 GB Notification: Performance of SimCode: time 9.51e-07/0.4938, allocations: 0 / 1.337 GB, free: 3.164 MB / 1.029 GB Notification: Performance of Templates: time 0.02184/0.5157, allocations: 12.27 MB / 1.349 GB, free: 7.141 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.553010798990726]