Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001914/0.001914, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002681/0.002681, allocations: 210 kB / 22.24 MB, free: 5.121 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.777 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.777/2.777, allocations: 476 MB / 0.7699 GB, free: 4.766 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.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_11_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_11_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.002045/0.002045, allocations: 69.09 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.292, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002165/0.2942, allocations: 0.8038 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2959, allocations: 1.165 MB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.2959, allocations: 0 / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.296, allocations: 11.86 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.2961, allocations: 15.8 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.2966, allocations: 139.8 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.2968, allocations: 139.8 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2969, allocations: 31.91 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.297, allocations: 55.84 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2971, allocations: 55.8 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.2972, allocations: 16 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2973, allocations: 27.92 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.2973, allocations: 23.92 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.2974, allocations: 43.84 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2978, allocations: 155.4 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2978, allocations: 0 / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2978, allocations: 4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.2978, allocations: 0 / 1.286 GB, free: 9.258 MB / 0.9825 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.0009305/0.2987, allocations: 355.8 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2988, allocations: 8.031 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.652e-05/0.2988, allocations: 16.84 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.299, allocations: 126.3 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.299, allocations: 4.375 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2991, allocations: 12.38 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.2994, allocations: 82.22 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2994, allocations: 4.172 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.2994, allocations: 7.938 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2994, allocations: 4 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.2997, allocations: 55.95 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.3003, allocations: 304.2 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3005, allocations: 50.55 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3006, allocations: 24.94 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3006, allocations: 7.938 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.3009, allocations: 91.34 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3009, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000473/0.3014, allocations: 125.6 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3014, allocations: 51.41 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3016, allocations: 133.7 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3016, allocations: 29.7 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.3017, allocations: 104 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3017, allocations: 15.89 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.3018, allocations: 33.7 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3019, allocations: 326.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3021, allocations: 77.67 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3023, allocations: 139 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3026, allocations: 120.2 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3026, allocations: 12.03 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004599/0.3031, allocations: 228.9 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.3031, allocations: 29.7 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3031, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3031, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.3032, allocations: 7.984 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3032, allocations: 4.094 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3034, allocations: 51.84 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.3035, allocations: 15.92 kB / 1.288 GB, free: 6.402 MB / 0.9825 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.0001078/0.3036, allocations: 119.2 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.3036, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.3036, allocations: 12.38 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3036, allocations: 3.938 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3036, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3036, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3038, allocations: 141.2 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3038, allocations: 0 / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.3038, allocations: 7.984 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3038, allocations: 0 / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3038, allocations: 0 / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3038, allocations: 4 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3038, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.3041, allocations: 121 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.3041, allocations: 7.953 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3042, allocations: 4 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.3042, allocations: 15.98 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.3043, allocations: 11.97 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3043, allocations: 3.938 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.3044, allocations: 99.27 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3044, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.3046, allocations: 27.89 kB / 1.289 GB, free: 5.773 MB / 0.9825 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.0001514/0.3048, allocations: 103.2 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.3052, allocations: 193.1 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3052, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3053, allocations: 35.97 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3055, allocations: 17.88 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.3059, allocations: 175.3 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.306, allocations: 79.45 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.306, allocations: 4 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.3061, allocations: 19.36 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3061, allocations: 3.938 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of Templates: time 0.005031/0.3111, allocations: 1.825 MB / 1.291 GB, free: 3.305 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.575428428128362]