Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001335/0.001335, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001511/0.001511, allocations: 218.5 kB / 23.01 MB, free: 4.605 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.222/3.222, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [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.002014/0.002014, allocations: 63.58 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3972, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002296/0.3995, allocations: 0.8211 MB / 1.355 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4013, allocations: 1.187 MB / 1.356 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.4013, allocations: 4 kB / 1.356 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/0.4014, allocations: 11.86 kB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.4015, allocations: 15.86 kB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.402, allocations: 138.8 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.4022, allocations: 139.8 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.4023, allocations: 27.97 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4025, allocations: 59.84 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.4026, allocations: 59.8 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.4026, allocations: 16 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.4027, allocations: 27.98 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.4027, allocations: 23.86 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.4028, allocations: 55.84 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.4031, allocations: 155.4 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4031, allocations: 0 / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4031, allocations: 0 / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4031, allocations: 0 / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006933/0.4038, allocations: 355.7 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4038, allocations: 12.03 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.4039, allocations: 16.89 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.404, allocations: 118.4 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.404, allocations: 12.31 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4041, allocations: 8.375 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.4043, allocations: 88.7 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4043, allocations: 192 / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4043, allocations: 3.938 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4043, allocations: 4 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.4045, allocations: 63.95 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.4051, allocations: 351.5 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.4053, allocations: 54.53 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.4054, allocations: 32.92 kB / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.4054, allocations: 0 / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.4057, allocations: 87.31 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4057, allocations: 0 / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004412/0.4061, allocations: 125.6 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.4062, allocations: 59.38 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4063, allocations: 129.7 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4063, allocations: 29.7 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.4064, allocations: 100.1 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4064, allocations: 15.84 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.4065, allocations: 41.69 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4067, allocations: 318.8 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.4068, allocations: 55.95 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.407, allocations: 79.41 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.4073, allocations: 128.2 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4073, allocations: 0 / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004281/0.4077, allocations: 191.2 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.4077, allocations: 37.69 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4077, allocations: 0 / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4078, allocations: 4 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.4079, allocations: 8.078 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4079, allocations: 8 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.4081, allocations: 43.89 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4081, allocations: 8 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.4082, allocations: 121.8 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.4082, allocations: 3.953 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.4083, allocations: 16.36 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4083, allocations: 4 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4083, allocations: 0 / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4083, allocations: 4.25 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.4084, allocations: 164.6 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4084, allocations: 4 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.4085, allocations: 11.94 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4085, allocations: 0 / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4085, allocations: 3.984 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4085, allocations: 0 / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4085, allocations: 0 / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.4088, allocations: 129 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.4088, allocations: 7.938 kB / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.4088, allocations: 0 / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.4089, allocations: 15.98 kB / 1.36 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.409, allocations: 11.92 kB / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.409, allocations: 0 / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.409, allocations: 103.7 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.409, allocations: 0 / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002211/0.4092, allocations: 23.94 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001709/0.4094, allocations: 111.2 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.4098, allocations: 147.3 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4098, allocations: 0 / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4099, allocations: 40.03 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4102, allocations: 12.31 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.4106, allocations: 200.9 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.411, allocations: 0.6962 MB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.411, allocations: 19.44 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.411, allocations: 3.938 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of Templates: time 0.003518/0.4145, allocations: 1.359 MB / 1.362 GB, free: 15.11 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 11.224885024013929]