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.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.949 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.001115/0.001115, allocations: 176.8 kB / 316.3 MB, free: 3.242 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.778/1.778, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0009691/0.000969, allocations: 90.48 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.677e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2162, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8077/1.024, allocations: 132.8 MB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.024, allocations: 88.55 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00352/1.028, allocations: 1.294 MB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.657e-06/1.028, allocations: 4 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.028, allocations: 0 / 1.016 GB, free: 3.746 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.0004949/1.029, allocations: 377.2 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.029, allocations: 12.03 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/1.029, allocations: 7.906 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/1.029, allocations: 181.4 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/1.029, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/1.029, allocations: 11.94 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/1.029, allocations: 35 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/1.029, allocations: 64.86 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.029, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.029, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.029, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/1.03, allocations: 332.4 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/1.03, allocations: 40.08 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/1.03, allocations: 18.8 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/1.03, allocations: 6.719 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/1.03, allocations: 72.83 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/1.03, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001983/1.031, allocations: 68.36 kB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.031, allocations: 51.41 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.031, allocations: 114.6 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/1.031, allocations: 25.7 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/1.031, allocations: 94.8 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/1.031, allocations: 23.28 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/1.031, allocations: 0 / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.031, allocations: 318.8 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/1.031, allocations: 14.38 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/1.031, allocations: 44.48 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/1.031, allocations: 7.312 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.031, allocations: 0.6562 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001275/1.031, allocations: 75.59 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.031, allocations: 8.062 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.031, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.031, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/1.031, allocations: 15.98 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.031, allocations: 3.953 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/1.032, allocations: 26.98 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.032, allocations: 11.94 kB / 1.018 GB, free: 1.652 MB / 0.6355 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 9.015e-05/1.032, allocations: 111 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/1.032, allocations: 7.984 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/1.032, allocations: 12.12 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.032, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.032, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.032, allocations: 3.953 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/1.032, allocations: 157.6 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.032, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/1.032, allocations: 15.98 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.032, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.032, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.032, allocations: 4 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.032, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/1.032, allocations: 98.47 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/1.032, allocations: 84.95 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/1.032, allocations: 7.312 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/1.032, allocations: 19.98 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/1.033, allocations: 11.97 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/1.033, allocations: 4.875 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.198e-05/1.033, allocations: 95.53 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/1.033, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002455/1.033, allocations: 12 kB / 1.019 GB, free: 0.9805 MB / 0.6355 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.0001272/1.033, allocations: 99.25 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001383/1.033, allocations: 44.92 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.033, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/1.033, allocations: 19.31 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/1.033, allocations: 15.56 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/1.034, allocations: 107.3 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.034, allocations: 0.6924 MB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.919e-05/1.034, allocations: 8.172 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/1.034, allocations: 7.438 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/1.034, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.003292/1.037, allocations: 0.8378 MB / 1.021 GB, free: 15.14 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