Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.00106/0.00106, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8432, allocations: 153.7 MB / 1.021 GB, free: 1.16 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001429/0.8447, allocations: 0.5676 MB / 1.021 GB, free: 0.5898 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8459, allocations: 0.8663 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.846, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.846, allocations: 7.922 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.8461, allocations: 19.91 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.8464, allocations: 19.97 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.8465, allocations: 67.86 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.8467, allocations: 37.25 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.8469, allocations: 39.84 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.847, allocations: 39.77 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.847, allocations: 4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.8471, allocations: 4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.8471, allocations: 15.92 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.8472, allocations: 37.64 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.8473, allocations: 93.75 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8473, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.045e-06/0.8473, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.8474, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001088/0.8484, allocations: 466.8 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.8485, allocations: 8.031 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.8486, allocations: 11.81 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.8488, allocations: 177.2 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.8489, allocations: 11.95 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.8489, allocations: 4 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.8492, allocations: 99.83 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.8492, allocations: 0 / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.8493, allocations: 4 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.8493, allocations: 4 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.8495, allocations: 75.95 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009349/0.8504, allocations: 420.4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.8506, allocations: 62.56 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.8506, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.8507, allocations: 34.56 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.524e-06/0.8507, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003974/0.8511, allocations: 133.6 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.8512, allocations: 51.41 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.8513, allocations: 159.3 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.8514, allocations: 29.7 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.8515, allocations: 108.1 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.8515, allocations: 11.89 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.8515, allocations: 8 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.8517, allocations: 322.8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.8518, allocations: 31.98 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.8519, allocations: 31.92 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.852, allocations: 27.98 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.852, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002204/0.8522, allocations: 109.5 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8523, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8523, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8523, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.8524, allocations: 15.95 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.8524, allocations: 7.984 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.8526, allocations: 31.88 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.8526, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001326/0.8528, allocations: 125.8 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.8528, allocations: 11.89 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.8529, allocations: 12.31 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.8529, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.8529, allocations: 7.891 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8529, allocations: 3.984 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.8531, allocations: 193.6 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8531, allocations: 3.984 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.8532, allocations: 12 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8532, allocations: 0 / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.8532, allocations: 7.984 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8533, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8533, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.8536, allocations: 191.4 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.8536, allocations: 93.25 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.8537, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.8539, allocations: 35.97 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.8539, allocations: 19.97 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.854, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.168e-05/0.8541, allocations: 116.6 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8541, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002334/0.8543, allocations: 19.95 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001698/0.8545, allocations: 99.25 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.8547, allocations: 71.97 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8547, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.8549, allocations: 43.84 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.8551, allocations: 11.94 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.8557, allocations: 223.1 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.8561, allocations: 0.7049 MB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.658e-05/0.8562, allocations: 4 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.8562, allocations: 19.42 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8562, allocations: 0 / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.004219/0.8605, allocations: 1.065 MB / 1.028 GB, free: 9.477 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches