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.424/1.424, allocations: 249.3 MB / 261.9 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001203, allocations: 172.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.001028/0.001028, allocations: 86.48 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.319e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7105/0.9223, allocations: 132.5 MB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.9227, allocations: 87.55 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003474/0.9261, allocations: 1.302 MB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9262, allocations: 0 / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.9262, allocations: 4 kB / 1.023 GB, free: 0.9414 MB / 0.6355 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.0005018/0.9267, allocations: 387.7 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.9268, allocations: 8.031 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.9268, allocations: 15.89 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.927, allocations: 174.9 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.927, allocations: 7.5 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.927, allocations: 8 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.9272, allocations: 74.92 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.9272, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.9272, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.9273, allocations: 8 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.237e-05/0.9274, allocations: 37.44 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.928, allocations: 360.1 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.9281, allocations: 52.36 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.9282, allocations: 22.48 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.9282, allocations: 10.67 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.9283, allocations: 67.11 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.9283, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0001821/0.9285, allocations: 68.47 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.9286, allocations: 51.41 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.9287, allocations: 115 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.9287, allocations: 28.7 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.9288, allocations: 103.3 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.9288, allocations: 19.73 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.9288, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9289, allocations: 318 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.929, allocations: 20.31 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.929, allocations: 32.64 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.9291, allocations: 15.95 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9291, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001467/0.9292, allocations: 79.88 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9293, allocations: 5.719 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9293, allocations: 4 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9293, allocations: 3.953 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.9294, allocations: 11.98 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.9294, allocations: 8.062 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.9296, allocations: 28 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.9296, allocations: 7.688 kB / 1.025 GB, free: 14.78 MB / 0.6511 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 () * 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 7.822e-05/0.9297, allocations: 105.7 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.9297, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.9297, allocations: 15.12 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.9297, allocations: 3.953 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9297, allocations: 8 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.9298, allocations: 7.922 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.9299, allocations: 182.7 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.9299, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.93, allocations: 7.984 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.93, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.93, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.93, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.93, allocations: 3.953 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.9302, allocations: 106.3 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.9302, allocations: 84.95 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.9303, allocations: 3.375 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.9304, allocations: 19.98 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.9305, allocations: 11.97 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.9305, allocations: 10.89 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.9305, allocations: 98.45 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9305, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001709/0.9307, allocations: 15.12 kB / 1.025 GB, free: 14.05 MB / 0.6511 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) * 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.0001228/0.9308, allocations: 102 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.931, allocations: 41.31 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.931, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.9311, allocations: 26.69 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.9312, allocations: 17.56 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.9315, allocations: 104.9 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.9318, allocations: 0.6926 MB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.9318, allocations: 8.172 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.9318, allocations: 7.438 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/0.9319, allocations: 8 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of Templates: time 0.00295/0.9348, allocations: 0.8866 MB / 1.027 GB, free: 12.16 MB / 0.6511 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