Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008441/0.008441, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001456/0.001456, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 68.06 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00209/1.038, allocations: 0.8172 MB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001607/1.04, allocations: 1.148 MB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/1.04, allocations: 0.75 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/1.04, allocations: 5.016 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.991e-05/1.04, allocations: 15.25 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/1.041, allocations: 140 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/1.041, allocations: 155.3 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/1.041, allocations: 33.73 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/1.041, allocations: 56.78 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/1.041, allocations: 54.22 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/1.041, allocations: 18 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/1.041, allocations: 28.94 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/1.041, allocations: 18.44 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/1.041, allocations: 58.08 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/1.042, allocations: 145.2 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.042, allocations: 4 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/1.042, allocations: 5.094 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.042, allocations: 0 / 1.091 GB, free: 3.82 MB / 0.8575 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.0006086/1.042, allocations: 431.8 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.042, allocations: 9.188 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/1.043, allocations: 15.36 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/1.043, allocations: 181.7 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/1.043, allocations: 5.75 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/1.043, allocations: 15.91 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/1.043, allocations: 83.12 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.043, allocations: 192 / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.043, allocations: 9.359 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.043, allocations: 5.578 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/1.043, allocations: 61.38 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/1.044, allocations: 382.1 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.044, allocations: 50.22 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.044, allocations: 31.92 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/1.044, allocations: 1.562 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/1.044, allocations: 88.83 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/1.045, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004711/1.045, allocations: 130.2 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.045, allocations: 53.28 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.045, allocations: 127 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/1.045, allocations: 33.06 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/1.045, allocations: 103.5 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/1.045, allocations: 19.64 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/1.045, allocations: 39.22 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/1.045, allocations: 314.5 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.046, allocations: 53.3 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/1.046, allocations: 82.36 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/1.046, allocations: 115 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.046, allocations: 0.9688 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004397/1.047, allocations: 194.8 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/1.047, allocations: 39.06 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.047, allocations: 4.531 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.047, allocations: 2.25 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/1.047, allocations: 9.219 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.047, allocations: 4.656 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.047, allocations: 47.47 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/1.047, allocations: 6.609 kB / 1.093 GB, free: 1.645 MB / 0.8575 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 8.987e-05/1.047, allocations: 122.5 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/1.047, allocations: 2.875 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/1.047, allocations: 11.77 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.047, allocations: 0.875 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.047, allocations: 0 / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.047, allocations: 5.547 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/1.047, allocations: 191.6 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.047, allocations: 0.7031 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/1.047, allocations: 11.91 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.047, allocations: 1.453 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/1.047, allocations: 1.734 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.047, allocations: 0.7812 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.047, allocations: 0 / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/1.048, allocations: 129.9 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/1.048, allocations: 92.19 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/1.048, allocations: 5.312 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/1.048, allocations: 10 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/1.048, allocations: 13.44 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.048, allocations: 6.859 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.483e-05/1.048, allocations: 92.11 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.048, allocations: 0 / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002295/1.048, allocations: 21.75 kB / 1.094 GB, free: 1.016 MB / 0.8575 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.0001437/1.048, allocations: 113.6 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004099/1.049, allocations: 168.9 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.049, allocations: 0 / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.049, allocations: 35.95 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/1.049, allocations: 15.95 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/1.05, allocations: 190.5 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/1.05, allocations: 0.6914 MB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.734e-05/1.05, allocations: 7.594 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/1.05, allocations: 16.36 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of SimCode: time 1.8e-07/1.05, allocations: 0 / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.005488/1.055, allocations: 1.64 MB / 1.097 GB, free: 15.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches