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.001452/0.001452, allocations: 113.6 kB / 16.42 MB, free: 6.508 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.001532/0.001532, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.1 MB, free: 15.19 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.44/2.44, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 56.12 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8258/0.8271, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002487/0.8296, allocations: 1.479 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007247/0.8304, allocations: 451 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.8304, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.8305, allocations: 3.938 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.8306, allocations: 11.86 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.8308, allocations: 15.98 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.8309, allocations: 59.83 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.831, allocations: 12 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.831, allocations: 19.92 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.8311, allocations: 23.91 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.8311, allocations: 4 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.8312, allocations: 8 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.8312, allocations: 7.938 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.8313, allocations: 27.91 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.8314, allocations: 40.81 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8314, allocations: 0 / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8314, allocations: 7.938 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8314, allocations: 0 / 1.169 GB, free: 1.703 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.0005483/0.832, allocations: 362.8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.832, allocations: 8.031 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.8321, allocations: 4.938 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.8322, allocations: 176.3 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.8322, allocations: 384 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.8323, allocations: 4.375 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.8324, allocations: 69.92 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8324, allocations: 0 / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8324, allocations: 7.938 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8324, allocations: 3.984 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.8325, allocations: 23.98 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.8331, allocations: 300.7 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.8332, allocations: 62.59 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.8332, allocations: 24.94 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.8333, allocations: 0 / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.8334, allocations: 71.34 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.8335, allocations: 3.938 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002509/0.8337, allocations: 93.67 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.8338, allocations: 67.34 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.8338, allocations: 105.8 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.8339, allocations: 29.7 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.8339, allocations: 88.12 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.834, allocations: 19.86 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.834, allocations: 29.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8341, allocations: 314.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.8342, allocations: 23.92 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.8342, allocations: 47.42 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.8343, allocations: 67.38 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8343, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.8345, allocations: 97.56 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.8345, allocations: 8 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8345, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8345, allocations: 4.031 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.8346, allocations: 15.94 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.8346, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.8347, allocations: 12.3 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.8347, allocations: 4 kB / 1.171 GB, free: 15.35 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.572e-05/0.8348, allocations: 121.8 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.8348, allocations: 4.281 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.8349, allocations: 15.89 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8349, allocations: 7.984 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8349, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.8349, allocations: 85.06 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.8349, allocations: 3.938 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.835, allocations: 11.92 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.835, allocations: 8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001875/0.8352, allocations: 164.9 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001755/0.8354, allocations: 258.7 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.402e-05/0.8355, allocations: 31.92 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.8355, allocations: 87.22 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/0.8356, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.836, allocations: 106.4 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005595/0.8365, allocations: 0.5842 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.003071/0.8396, allocations: 0.8043 MB / 1.174 GB, free: 12.97 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) Reference file matches