Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 171.3 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009023/0.0009022, allocations: 96.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8.125 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.4004, allocations: 132.6 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4007, allocations: 95.88 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003227/0.404, allocations: 1.291 MB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.404, allocations: 3.938 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.404, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005291/0.4045, allocations: 407 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4046, allocations: 12.03 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.4046, allocations: 11.84 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4048, allocations: 174.9 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4048, allocations: 12 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.4048, allocations: 4 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.4051, allocations: 93.62 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.4051, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4051, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4051, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.4053, allocations: 79.89 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.4059, allocations: 364.6 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4061, allocations: 62.55 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.4062, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.4064, allocations: 83.5 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4064, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0003992/0.4068, allocations: 141.7 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4069, allocations: 59.39 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.407, allocations: 116.8 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.407, allocations: 25.7 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.4071, allocations: 96.05 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4071, allocations: 19.73 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-06/0.4071, allocations: 8 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4073, allocations: 310.8 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.4074, allocations: 35.97 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4075, allocations: 58.53 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.4076, allocations: 32.02 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4076, allocations: 0 / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002386/0.4079, allocations: 113.6 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4079, allocations: 4 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4079, allocations: 0 / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4079, allocations: 3.953 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.408, allocations: 15.98 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.408, allocations: 7.875 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.4082, allocations: 31.97 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4082, allocations: 4 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.803e-05/0.4083, allocations: 115.9 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.4083, allocations: 7.906 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.4083, allocations: 8.375 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4083, allocations: 0 / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4083, allocations: 3.953 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4084, allocations: 3.984 kB / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4085, allocations: 189.6 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4085, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.4086, allocations: 15.92 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4086, allocations: 4 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4086, allocations: 0 / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4086, allocations: 0 / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4086, allocations: 0 / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.4089, allocations: 136.9 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.409, allocations: 85.02 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.409, allocations: 4 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4091, allocations: 23.97 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.4092, allocations: 15.98 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4092, allocations: 3.984 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.4092, allocations: 91.23 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4092, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001788/0.4094, allocations: 12 kB / 1.034 GB, free: 6.391 MB / 0.6823 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,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.4096, allocations: 112 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.4098, allocations: 79.89 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4098, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.41, allocations: 36.17 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4101, allocations: 27.11 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.4105, allocations: 201.2 kB / 1.034 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4108, allocations: 0.6947 MB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.4109, allocations: 4.188 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.4109, allocations: 19.42 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of SimCode: time 4.7e-07/0.4109, allocations: 0 / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of Templates: time 0.002996/0.4139, allocations: 0.858 MB / 1.036 GB, free: 4.312 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches