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.001535/0.001535, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001551/0.001551, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.368/2.368, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.83 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7279, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002293/0.7302, allocations: 1.483 MB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000663/0.7309, allocations: 450.9 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.7309, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.731, allocations: 3.938 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.731, allocations: 15.92 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.7312, allocations: 15.98 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.7313, allocations: 51.84 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.7314, allocations: 11.98 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.7314, allocations: 19.92 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.7315, allocations: 19.92 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.7315, allocations: 4 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.7315, allocations: 8 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.7316, allocations: 15.92 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.7316, allocations: 27.86 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.7317, allocations: 47.81 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7317, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7317, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.7317, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 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.000473/0.7322, allocations: 355.2 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.7322, allocations: 12.03 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.7323, allocations: 4.844 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.7324, allocations: 178.2 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7324, allocations: 8.312 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.7324, allocations: 4.375 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.7326, allocations: 65.91 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.7326, allocations: 0 / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7326, allocations: 4 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7326, allocations: 4 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.7327, allocations: 19.98 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.7331, allocations: 308.6 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.7332, allocations: 54.62 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.7332, allocations: 24.88 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.7333, allocations: 0 / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.7334, allocations: 75.42 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.7334, allocations: 0 / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002018/0.7336, allocations: 97.61 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.7337, allocations: 55.41 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.7337, allocations: 109.8 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7338, allocations: 29.7 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.7338, allocations: 88.12 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.7338, allocations: 23.7 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.7339, allocations: 29.66 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.734, allocations: 326.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.734, allocations: 15.98 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/0.7341, allocations: 39.81 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.7342, allocations: 71.36 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7342, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001374/0.7343, allocations: 105.5 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7343, allocations: 10.59 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7344, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7344, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.7344, allocations: 8 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7345, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.7345, allocations: 15.83 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.7345, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 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 8.039e-05/0.7346, allocations: 134 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.7346, allocations: 4 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.7347, allocations: 11.95 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.7347, allocations: 4 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7347, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7347, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.7351, allocations: 358.3 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7351, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.7351, allocations: 4 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7351, allocations: 4 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.7351, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7351, allocations: 7.938 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7351, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.7353, allocations: 179.5 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.7353, allocations: 81.02 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.7353, allocations: 3.984 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.7354, allocations: 15.88 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.7355, allocations: 11.98 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.7355, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.7355, allocations: 83.28 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7355, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002395/0.7358, allocations: 16.17 kB / 1.172 GB, free: 14.4 MB / 0.9044 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 9.097e-05/0.7359, allocations: 103.2 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.736, allocations: 55.92 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.736, allocations: 4.062 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.305e-05/0.7361, allocations: 35.92 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.7364, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.7367, allocations: 175.1 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.7369, allocations: 0.6846 MB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.7369, allocations: 11.44 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.7369, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.002061/0.739, allocations: 0.874 MB / 1.174 GB, free: 12.4 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time