Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_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_latest_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.001385/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00157/0.001571, allocations: 195.4 kB / 16.14 MB, free: 6.648 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 72.27 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3202, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002665/0.3229, allocations: 1.549 MB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006872/0.3236, allocations: 442.8 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.3237, allocations: 4 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.3237, allocations: 7.922 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.3238, allocations: 3.938 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.324, allocations: 19.97 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.3241, allocations: 43.92 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.3242, allocations: 11.98 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/0.3242, allocations: 27.86 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.3243, allocations: 19.92 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3243, allocations: 0 / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3243, allocations: 7.938 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.3243, allocations: 11.98 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.3244, allocations: 19.86 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.131e-05/0.3245, allocations: 43.88 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3245, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3245, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.3245, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 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.000477/0.325, allocations: 359.7 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.325, allocations: 8.031 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3251, allocations: 4.938 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3252, allocations: 172.2 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3252, allocations: 12.3 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3252, allocations: 8.375 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3253, allocations: 57.98 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3254, allocations: 0 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3254, allocations: 8 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3254, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.3254, allocations: 19.98 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.3259, allocations: 312.7 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.326, allocations: 54.56 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.3261, allocations: 20.89 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.3261, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3263, allocations: 83.31 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3263, allocations: 0 / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000206/0.3265, allocations: 101.6 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3265, allocations: 51.41 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.3266, allocations: 109.8 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3266, allocations: 25.7 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3267, allocations: 92.05 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3267, allocations: 19.66 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.3268, allocations: 37.64 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.3268, allocations: 314.8 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.3269, allocations: 19.98 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.3269, allocations: 55.3 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.327, allocations: 63.42 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3271, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001317/0.3272, allocations: 93.56 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3272, allocations: 9.594 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3272, allocations: 4 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3272, allocations: 288 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.3273, allocations: 11.98 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3273, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.3274, allocations: 11.91 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3274, allocations: 4.062 kB / 1.056 GB, free: 4.324 MB / 0.8106 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.962e-05/0.3275, allocations: 139.2 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.3275, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.3276, allocations: 11.97 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3276, allocations: 4.375 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3276, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3276, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.328, allocations: 362.3 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.328, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.328, allocations: 7.984 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.328, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.328, allocations: 8 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.328, allocations: 7.922 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.328, allocations: 3.938 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3282, allocations: 175.5 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3283, allocations: 84.95 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3283, allocations: 7.938 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.3284, allocations: 15.86 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3284, allocations: 12 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3284, allocations: 3.984 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.3285, allocations: 79.28 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3285, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002311/0.3287, allocations: 16 kB / 1.057 GB, free: 3.305 MB / 0.8106 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.0001009/0.3288, allocations: 99.25 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.329, allocations: 55.91 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.329, allocations: 0 / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.329, allocations: 36 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3294, allocations: 7.984 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3297, allocations: 151.7 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.33, allocations: 0.6887 MB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.009e-05/0.33, allocations: 11.98 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.33, allocations: 11.44 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.33, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.002641/0.3327, allocations: 0.6694 MB / 1.059 GB, free: 1.523 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches