Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00166/0.00166, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6357, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003432/0.6392, allocations: 1.539 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.6401, allocations: 455 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.6402, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.6402, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.638e-05/0.6403, allocations: 7.922 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.6405, allocations: 12 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.6406, allocations: 51.84 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.6407, allocations: 23.95 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.6408, allocations: 19.94 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.6409, allocations: 19.91 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.6409, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.641, allocations: 8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.641, allocations: 7.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.6411, allocations: 23.92 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.6412, allocations: 47.81 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6412, allocations: 7.938 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6412, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6412, allocations: 4 kB / 1.019 GB, free: 496 kB / 0.7637 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.0006536/0.6419, allocations: 365.2 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.642, allocations: 12.03 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.642, allocations: 4.922 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.6422, allocations: 168.3 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.6422, allocations: 4.375 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.6423, allocations: 8.375 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.6424, allocations: 57.98 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6424, allocations: 7.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6425, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6425, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.6426, allocations: 23.98 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.6432, allocations: 296.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.6434, allocations: 58.61 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.6435, allocations: 24.94 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.6435, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.6437, allocations: 71.38 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.6437, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003152/0.6441, allocations: 101.5 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.6441, allocations: 67.33 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.6443, allocations: 98.23 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.6443, allocations: 33.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.6444, allocations: 92.02 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.6444, allocations: 15.81 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.6445, allocations: 33.64 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6447, allocations: 322.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.6447, allocations: 19.92 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.6448, allocations: 47.42 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.645, allocations: 71.55 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.645, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002231/0.6452, allocations: 97.52 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6452, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6452, allocations: 4.031 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.6453, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.6454, allocations: 15.92 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6454, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.379e-05/0.6455, allocations: 11.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6455, allocations: 4 kB / 1.021 GB, free: 14.13 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.6456, allocations: 118.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.6457, allocations: 11.89 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.6457, allocations: 7.969 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6457, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6458, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6458, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.6463, allocations: 358.4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6463, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.6464, allocations: 4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6464, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6464, allocations: 3.984 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6464, allocations: 7.938 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6464, allocations: 4 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.6466, allocations: 179.4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.6467, allocations: 81.28 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.6467, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.6469, allocations: 15.94 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6469, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.647, allocations: 11.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.647, allocations: 87.27 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.647, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004261/0.6475, allocations: 19.91 kB / 1.022 GB, free: 13.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.6476, allocations: 97.08 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.6478, allocations: 55.86 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6478, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.6479, allocations: 27.98 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.6483, allocations: 17.61 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.6488, allocations: 153.6 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.6491, allocations: 0.6904 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.6492, allocations: 7.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.6492, allocations: 15.44 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6493, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.003889/0.6532, allocations: 0.725 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches