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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006511/0.006511, allocations: 101.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001443, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002117/0.3045, allocations: 0.796 MB / 1.208 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3061, allocations: 1.171 MB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.3062, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.3063, allocations: 3.938 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.3064, allocations: 15.86 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.3069, allocations: 135.2 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3071, allocations: 155.7 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3073, allocations: 39.94 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3074, allocations: 55.78 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3076, allocations: 71.72 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.3076, allocations: 12 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.3077, allocations: 27.98 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.3077, allocations: 23.92 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.3078, allocations: 51.83 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.308, allocations: 143.6 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.308, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.308, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.308, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 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.0006145/0.3087, allocations: 436.9 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3087, allocations: 8.625 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.3088, allocations: 16.83 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3089, allocations: 176.2 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3089, allocations: 4.375 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3089, allocations: 12.38 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3092, allocations: 90.7 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3092, allocations: 4.188 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3092, allocations: 3.938 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3092, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.3094, allocations: 59.89 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.31, allocations: 376.6 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3102, allocations: 62.48 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.3103, allocations: 28.94 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3103, allocations: 0 / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.3105, allocations: 83.27 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3105, allocations: 3.938 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004255/0.311, allocations: 133.6 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.311, allocations: 51.41 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3111, allocations: 141.5 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3111, allocations: 25.7 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3112, allocations: 100 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3112, allocations: 11.8 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.3113, allocations: 41.7 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3114, allocations: 322.8 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3116, allocations: 43.97 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.3118, allocations: 83.38 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.312, allocations: 124.2 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3121, allocations: 96 / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004216/0.3125, allocations: 191.2 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.3125, allocations: 37.7 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3125, allocations: 4 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3126, allocations: 4.062 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.3127, allocations: 7.984 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3127, allocations: 4 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3129, allocations: 40.11 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3129, allocations: 11.98 kB / 1.213 GB, free: 3.941 MB / 0.9669 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.0001083/0.313, allocations: 133.5 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3131, allocations: 7.906 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.3131, allocations: 20.36 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3131, allocations: 0 / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3131, allocations: 0 / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3131, allocations: 3.938 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3133, allocations: 185.6 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3133, allocations: 0 / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.3133, allocations: 11.98 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3134, allocations: 0 / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3134, allocations: 4 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3134, allocations: 7.938 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3134, allocations: 0 / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3137, allocations: 125 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.3137, allocations: 85.02 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3137, allocations: 0 / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.3138, allocations: 11.98 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3139, allocations: 19.92 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3139, allocations: 7.984 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.3139, allocations: 91.27 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.3139, allocations: 0 / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002259/0.3142, allocations: 24 kB / 1.214 GB, free: 3.121 MB / 0.9669 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.0001332/0.3143, allocations: 99.25 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.3147, allocations: 175.3 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3147, allocations: 0 / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3148, allocations: 31.98 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.315, allocations: 19.92 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.3154, allocations: 194.9 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3157, allocations: 0.6979 MB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.3158, allocations: 4 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3158, allocations: 11.44 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3158, allocations: 0 / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of Templates: time 0.004158/0.32, allocations: 1.629 MB / 1.216 GB, free: 220 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) 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) Reference file matches