Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001634/0.001634, 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.001655/0.001655, allocations: 214.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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.253/3.253, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 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.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_12_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_12_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.002173/0.002173, allocations: 66.7 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3992, allocations: 176.1 MB / 1.326 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002332/0.4015, allocations: 0.7999 MB / 1.327 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.4033, allocations: 1.178 MB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.4033, allocations: 4 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.4034, allocations: 7.922 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.642e-05/0.4034, allocations: 15.88 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.404, allocations: 150 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.4042, allocations: 139.8 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4043, allocations: 19.98 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.4044, allocations: 63.78 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4045, allocations: 51.8 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.4046, allocations: 16 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.4047, allocations: 27.98 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.4047, allocations: 19.92 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.4048, allocations: 51.83 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.405, allocations: 147.5 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.405, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.405, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.405, allocations: 0 / 1.329 GB, free: 15.35 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007334/0.4058, allocations: 355.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4058, allocations: 19.97 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.4059, allocations: 8.891 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.406, allocations: 126.3 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.406, allocations: 12.38 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.406, allocations: 8.375 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.4063, allocations: 78.22 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4063, allocations: 192 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.4063, allocations: 11.92 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4063, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.4065, allocations: 59.95 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.407, allocations: 300.2 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.4072, allocations: 50.48 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4073, allocations: 36.92 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.4073, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.4076, allocations: 83.36 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.4076, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004496/0.408, allocations: 133.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4081, allocations: 51.41 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4082, allocations: 121.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.4082, allocations: 33.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.4083, allocations: 96.05 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4083, allocations: 23.83 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.4084, allocations: 37.7 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4085, allocations: 322.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4087, allocations: 77.67 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.409, allocations: 142.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.4093, allocations: 120.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4093, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004391/0.4097, allocations: 225 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.4098, allocations: 37.64 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4098, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4098, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.4099, allocations: 15.98 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4099, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.4101, allocations: 43.97 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4101, allocations: 11.92 kB / 1.331 GB, free: 12.51 MB / 1.029 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.0001109/0.4102, allocations: 122.3 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.4102, allocations: 11.95 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.4103, allocations: 4.375 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4103, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4103, allocations: 96 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4103, allocations: 7.938 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4104, allocations: 129.2 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4104, allocations: 4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.4105, allocations: 7.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4105, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4105, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4105, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4105, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.4108, allocations: 133.3 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.4108, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.4108, allocations: 8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.4109, allocations: 15.98 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.4109, allocations: 15.97 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.4109, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.411, allocations: 91.27 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.411, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002195/0.4112, allocations: 27.89 kB / 1.332 GB, free: 11.87 MB / 1.029 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.000152/0.4114, allocations: 107.2 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.4119, allocations: 189.1 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4119, allocations: 7.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.412, allocations: 31.97 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.4122, allocations: 21.86 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.4126, allocations: 200.9 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4127, allocations: 83.39 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.4128, allocations: 11.44 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4128, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003374/0.4162, allocations: 1.374 MB / 1.334 GB, free: 9.793 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.592176384758204]