Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 100.1 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.001277/0.001277, allocations: 177.3 kB / 15.95 MB, free: 216 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.537/1.537, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8 kB / 0.8707 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6563, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001579/0.6579, allocations: 1.169 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.6586, allocations: 423.4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.6587, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.6587, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.6588, allocations: 3.984 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.6589, allocations: 23.86 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.934e-05/0.659, allocations: 31.95 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.6591, allocations: 11.98 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.6592, allocations: 23.91 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.6592, allocations: 15.92 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.6593, allocations: 8 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.6593, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.6593, allocations: 7.984 kB / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.6593, allocations: 37.64 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.283e-05/0.6594, allocations: 23.95 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.6594, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6594, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6594, allocations: 0 / 1.023 GB, free: 15.28 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005369/0.66, allocations: 369.1 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.66, allocations: 11.98 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.6601, allocations: 7.906 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.6602, allocations: 159.1 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6602, allocations: 4 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.6602, allocations: 8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.6604, allocations: 61.56 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6604, allocations: 0 / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.6604, allocations: 0 / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6604, allocations: 8 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.6605, allocations: 23.98 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.661, allocations: 316.6 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.6611, allocations: 54.56 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.6611, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.6613, allocations: 71.64 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.6613, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002222/0.6615, allocations: 97.52 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6616, allocations: 55.41 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.6616, allocations: 109.8 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6617, allocations: 29.7 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.6617, allocations: 84.14 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.6617, allocations: 23.7 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.6618, allocations: 4.312 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6619, allocations: 322.8 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.6619, allocations: 15.98 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.662, allocations: 43.42 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.662, allocations: 31.88 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.662, allocations: 0 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.6622, allocations: 97.8 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6622, allocations: 4 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6622, allocations: 4 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6622, allocations: 0 / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.6623, allocations: 8 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.6623, allocations: 7.938 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.6624, allocations: 19.95 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6624, allocations: 7.984 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001016/0.6625, allocations: 117.8 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.6625, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.6626, allocations: 11.95 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6626, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6626, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6626, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.663, allocations: 366.4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.663, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.6631, allocations: 4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6631, allocations: 3.938 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6631, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6631, allocations: 3.984 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6631, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.6633, allocations: 191.3 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.6633, allocations: 81.11 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.6633, allocations: 7.984 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.6634, allocations: 7.938 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.6635, allocations: 7.984 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.6635, allocations: 4.188 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.6636, allocations: 91.27 kB / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6636, allocations: 3.938 kB / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002428/0.6638, allocations: 12 kB / 1.025 GB, free: 12.03 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001095/0.6639, allocations: 99.25 kB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.6641, allocations: 51.92 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.6641, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.6641, allocations: 27.92 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.6643, allocations: 12.02 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.6648, allocations: 172.6 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.6651, allocations: 0.6926 MB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.6651, allocations: 11.92 kB / 1.026 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.6651, allocations: 11.44 kB / 1.026 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6651, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.002663/0.6678, allocations: 0.6574 MB / 1.027 GB, free: 10.24 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches