Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00165/0.00165, 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.001828/0.001828, allocations: 212.2 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.451/1.451, 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 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.709/2.709, allocations: 476 MB / 0.7707 GB, free: 4.77 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,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [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.002165/0.002165, allocations: 71.14 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4212, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01565/0.4368, allocations: 10.34 MB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.4537, allocations: 8.504 MB / 1.302 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.4557, allocations: 83.25 kB / 1.302 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005069/0.4608, allocations: 1.67 MB / 1.304 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.4665, allocations: 1.58 MB / 1.305 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.4688, allocations: 0.6706 MB / 1.306 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00402/0.4728, allocations: 2.29 MB / 1.308 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.475, allocations: 1.141 MB / 1.309 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.4776, allocations: 1.176 MB / 1.311 GB, free: 448 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.4796, allocations: 0.9334 MB / 1.311 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.4799, allocations: 136 kB / 1.312 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.4817, allocations: 0.7369 MB / 1.312 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.4823, allocations: 0.5763 MB / 1.313 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009902/0.4833, allocations: 0.7153 MB / 1.314 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.4869, allocations: 2.576 MB / 1.316 GB, free: 10.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4869, allocations: 0 / 1.316 GB, free: 10.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4869, allocations: 0 / 1.316 GB, free: 10.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.687e-05/0.4869, allocations: 0 / 1.316 GB, free: 10.75 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003874/0.4908, allocations: 1.995 MB / 1.318 GB, free: 8.711 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4909, allocations: 8.031 kB / 1.318 GB, free: 8.703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.502, allocations: 2.059 MB / 1.32 GB, free: 6.641 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.505, allocations: 1.122 MB / 1.321 GB, free: 5.469 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.5051, allocations: 82.69 kB / 1.321 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.5054, allocations: 120.1 kB / 1.321 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006382/0.5118, allocations: 2.697 MB / 1.324 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.5119, allocations: 15.89 kB / 1.324 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.512, allocations: 47.98 kB / 1.324 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003885/0.5124, allocations: 130.1 kB / 1.324 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00761/0.52, allocations: 2.541 MB / 1.327 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.5341, allocations: 7.476 MB / 1.334 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/0.5405, allocations: 1.853 MB / 1.336 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.5434, allocations: 0.9446 MB / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.5435, allocations: 16.38 kB / 1.337 GB, free: 5.164 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.5435, allocations: 43 kB / 1.337 GB, free: 5.113 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.5435, allocations: 0 / 1.337 GB, free: 5.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03354/0.5771, allocations: 9.098 MB / 1.346 GB, free: 11.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5771, allocations: 64.05 kB / 1.346 GB, free: 11.9 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.5787, allocations: 0.9593 MB / 1.347 GB, free: 10.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.5789, allocations: 37.7 kB / 1.347 GB, free: 10.88 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006725/0.5795, allocations: 0.7658 MB / 1.347 GB, free: 10.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.5799, allocations: 289.5 kB / 1.348 GB, free: 9.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.5803, allocations: 202.5 kB / 1.348 GB, free: 9.617 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5805, allocations: 345.9 kB / 1.348 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.5835, allocations: 1.083 MB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003295/0.5868, allocations: 1.317 MB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/0.5932, allocations: 2.401 MB / 1.353 GB, free: 4.285 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5933, allocations: 4 kB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009368/0.6026, allocations: 3.27 MB / 1.356 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.6027, allocations: 13.88 kB / 1.356 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.6027, allocations: 12 kB / 1.356 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/0.6057, allocations: 0.8574 MB / 1.357 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.6077, allocations: 415.3 kB / 1.357 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.6261, allocations: 15.02 MB / 1.372 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.6285, allocations: 291.5 kB / 1.372 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.6287, allocations: 51.97 kB / 1.372 GB, free: 15.48 MB / 1.076 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008685/0.6295, allocations: 405.4 kB / 1.373 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.6298, allocations: 139.2 kB / 1.373 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009247/0.639, allocations: 3.196 MB / 1.376 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.6391, allocations: 12 kB / 1.376 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.6391, allocations: 12 kB / 1.376 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6391, allocations: 3.984 kB / 1.376 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.6512, allocations: 4.515 MB / 1.38 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.6512, allocations: 4.062 kB / 1.38 GB, free: 7.051 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.6528, allocations: 351.4 kB / 1.381 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002704/0.6555, allocations: 0.7794 MB / 1.382 GB, free: 5.902 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.6556, allocations: 35.91 kB / 1.382 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.673, allocations: 14.64 MB / 1.396 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/0.6731, allocations: 7.938 kB / 1.396 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/0.6817, allocations: 3.043 MB / 1.399 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.6827, allocations: 310.9 kB / 1.399 GB, free: 2.973 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.6829, allocations: 12 kB / 1.399 GB, free: 2.961 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.6847, allocations: 295.5 kB / 1.399 GB, free: 2.672 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.685, allocations: 84.44 kB / 1.4 GB, free: 2.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/0.6851, allocations: 39.91 kB / 1.4 GB, free: 2.551 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000994/0.6861, allocations: 0.6346 MB / 1.4 GB, free: 1.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6861, allocations: 0 / 1.4 GB, free: 1.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001623/0.6877, allocations: 440 kB / 1.401 GB, free: 1.48 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000279/0.688, allocations: 127.1 kB / 1.401 GB, free: 1.348 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009161/0.6972, allocations: 3.558 MB / 1.404 GB, free: 13.69 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6972, allocations: 0 / 1.404 GB, free: 13.69 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/0.7026, allocations: 2.329 MB / 1.406 GB, free: 11.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.7048, allocations: 493.9 kB / 1.407 GB, free: 10.79 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.7149, allocations: 3.899 MB / 1.411 GB, free: 6.824 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.7159, allocations: 0.8015 MB / 1.412 GB, free: 5.984 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.7165, allocations: 119.3 kB / 1.412 GB, free: 5.867 MB / 1.107 GB Notification: Performance of SimCode: time 1.182e-06/0.7165, allocations: 0 / 1.412 GB, free: 5.867 MB / 1.107 GB Notification: Performance of Templates: time 0.09311/0.8096, allocations: 75 MB / 1.485 GB, free: 10.91 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 17.73670415021479]