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.001482/0.001482, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001603/0.001603, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.809 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.234/3.234, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002083/0.002083, allocations: 72.67 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3356, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002083/0.3377, allocations: 0.8102 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3392, allocations: 1.164 MB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.3393, allocations: 4 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.3393, allocations: 3.938 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.3394, allocations: 15.84 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.3399, allocations: 148.7 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.3401, allocations: 139.7 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3403, allocations: 27.97 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3404, allocations: 59.84 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3405, allocations: 55.73 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.3405, allocations: 16 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.3406, allocations: 23.98 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.3406, allocations: 11.98 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.3407, allocations: 47.86 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3409, allocations: 155.4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3409, allocations: 8 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3409, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3409, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 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.0006749/0.3416, allocations: 351.8 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3416, allocations: 8.031 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.3417, allocations: 12.89 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3418, allocations: 118.4 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3418, allocations: 12.36 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3419, allocations: 8.375 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3421, allocations: 86.22 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3421, allocations: 192 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3421, allocations: 7.938 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3421, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3423, allocations: 63.88 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.3429, allocations: 300.3 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.343, allocations: 66.36 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.3431, allocations: 24.94 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.3431, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.3434, allocations: 87.31 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3434, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004297/0.3438, allocations: 125.6 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3438, allocations: 63.39 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.344, allocations: 133.7 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.344, allocations: 25.7 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.3441, allocations: 100.1 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3441, allocations: 15.83 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.3442, allocations: 37.7 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3443, allocations: 326.8 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3445, allocations: 77.67 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3447, allocations: 134.8 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.345, allocations: 124.2 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.345, allocations: 0 / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004601/0.3454, allocations: 225 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.3455, allocations: 41.69 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3455, allocations: 0 / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3455, allocations: 4.062 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.3456, allocations: 11.98 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3456, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3458, allocations: 35.95 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3458, allocations: 11.94 kB / 1.369 GB, free: 8.105 MB / 1.061 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.0001158/0.3459, allocations: 125.8 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.346, allocations: 11.94 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.346, allocations: 12.38 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.346, allocations: 4 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.346, allocations: 0 / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.346, allocations: 0 / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3461, allocations: 125.2 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3461, allocations: 3.938 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.3462, allocations: 11.98 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3462, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3462, allocations: 4.312 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3462, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3462, allocations: 8 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3465, allocations: 133 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.3465, allocations: 11.89 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3465, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.3466, allocations: 7.984 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.3467, allocations: 11.98 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3467, allocations: 7.984 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.3467, allocations: 91.27 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3467, allocations: 0 / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002299/0.347, allocations: 35.94 kB / 1.37 GB, free: 7.449 MB / 1.061 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.0001298/0.3471, allocations: 99.19 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.3475, allocations: 189 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3475, allocations: 0 / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3476, allocations: 35.97 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3478, allocations: 8.125 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.3482, allocations: 183.1 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.3483, allocations: 75.33 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.3483, allocations: 0 / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.3483, allocations: 15.44 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3483, allocations: 0 / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of Templates: time 0.004819/0.3532, allocations: 1.823 MB / 1.372 GB, free: 5.008 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/jenkins/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: 8.505865754559636]