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.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.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.007024/0.007024, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001844/0.001853, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.36 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3612, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003338/0.3646, allocations: 1.536 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.3655, allocations: 442.8 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.3656, allocations: 3.938 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.3656, allocations: 3.984 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3658, allocations: 11.92 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.366, allocations: 15.98 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.366, allocations: 47.86 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3662, allocations: 15.98 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.3662, allocations: 23.86 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.3663, allocations: 15.92 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3663, allocations: 4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3664, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.3664, allocations: 15.97 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.3665, allocations: 23.88 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.699e-05/0.3666, allocations: 31.95 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3666, allocations: 0 / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3666, allocations: 0 / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3666, allocations: 0 / 1.055 GB, free: 6.121 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.0005946/0.3672, allocations: 355.7 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3673, allocations: 15.97 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.3673, allocations: 0.9375 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3675, allocations: 184.2 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3675, allocations: 4.375 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3675, allocations: 8.375 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3676, allocations: 54 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3677, allocations: 3.984 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3677, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.3677, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.3678, allocations: 23.98 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.3683, allocations: 308.7 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3685, allocations: 54.56 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.3685, allocations: 32.92 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3685, allocations: 4.031 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.3687, allocations: 75.3 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3688, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002537/0.369, allocations: 97.61 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3691, allocations: 55.41 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.3692, allocations: 105.8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3692, allocations: 29.7 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.3692, allocations: 87.98 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3693, allocations: 27.64 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3693, allocations: 29.72 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3695, allocations: 330.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.3695, allocations: 15.98 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.3696, allocations: 43.38 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.3697, allocations: 63.42 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3697, allocations: 7.938 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001794/0.3699, allocations: 93.61 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3699, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3699, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3699, allocations: 4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.37, allocations: 8 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.37, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.3701, allocations: 15.89 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3701, allocations: 7.938 kB / 1.057 GB, free: 3.762 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 9.025e-05/0.3702, allocations: 121.8 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.3702, allocations: 4 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.3703, allocations: 12.33 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3703, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3703, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3703, allocations: 288 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.3707, allocations: 362.3 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3708, allocations: 4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.3708, allocations: 8.062 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3708, allocations: 3.984 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3708, allocations: 4 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3708, allocations: 11.88 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3708, allocations: 3.984 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.371, allocations: 179.4 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.3711, allocations: 88.95 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3711, allocations: 7.984 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.3712, allocations: 7.938 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3712, allocations: 7.984 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3713, allocations: 4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.3713, allocations: 83.28 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3713, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002589/0.3716, allocations: 19.98 kB / 1.058 GB, free: 2.742 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.0001086/0.3717, allocations: 95.25 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3718, allocations: 55.92 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3718, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.3719, allocations: 27.92 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3722, allocations: 12.38 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3726, allocations: 177 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3729, allocations: 0.6926 MB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.3729, allocations: 15.44 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.3729, allocations: 0 / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of Templates: time 0.0027/0.3756, allocations: 0.8427 MB / 1.06 GB, free: 0.7656 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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