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.00165/0.00165, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001746/0.001746, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 64.28 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3671, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003208/0.3703, allocations: 1.489 MB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.3712, allocations: 446.7 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.3713, allocations: 0 / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.3714, allocations: 3.938 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.3715, allocations: 19.91 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.3717, allocations: 23.92 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3718, allocations: 43.91 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3719, allocations: 15.98 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.372, allocations: 23.86 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.3721, allocations: 23.86 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3721, allocations: 4 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.3721, allocations: 4 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.3722, allocations: 12.03 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.3722, allocations: 27.86 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.3724, allocations: 43.88 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3724, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3724, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.3724, allocations: 0 / 1.029 GB, free: 15.91 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.0006265/0.373, allocations: 359.4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3731, allocations: 12.03 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.3731, allocations: 4.938 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3733, allocations: 180.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3733, allocations: 4.375 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3733, allocations: 8.375 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3735, allocations: 54 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3735, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3735, allocations: 3.984 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3735, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.3736, allocations: 27.92 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3741, allocations: 292.8 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3742, allocations: 58.59 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.3743, allocations: 28.88 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3743, allocations: 4 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.3745, allocations: 75.23 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.3745, allocations: 4 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002415/0.3747, allocations: 97.61 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3748, allocations: 55.41 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.3749, allocations: 113.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3749, allocations: 29.7 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.375, allocations: 84.12 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.375, allocations: 27.64 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.3751, allocations: 25.72 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3752, allocations: 334.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.3752, allocations: 16 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.3753, allocations: 47.42 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.3754, allocations: 63.36 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3754, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001487/0.3756, allocations: 93.61 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3756, allocations: 4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3756, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3756, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.3757, allocations: 11.94 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3757, allocations: 3.984 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.3758, allocations: 15.89 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3758, allocations: 4 kB / 1.031 GB, free: 13.56 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 0.0001037/0.3759, allocations: 125.8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.3759, allocations: 4 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.376, allocations: 7.969 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.376, allocations: 7.984 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.376, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.376, allocations: 3.938 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.3764, allocations: 358.7 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3765, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.3765, allocations: 7.938 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3765, allocations: 4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3765, allocations: 8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3765, allocations: 3.938 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3765, allocations: 0 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3767, allocations: 175.5 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.3768, allocations: 85.02 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3768, allocations: 15.98 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.3769, allocations: 7.938 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.377, allocations: 7.984 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.377, allocations: 4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.377, allocations: 87.45 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.377, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002477/0.3773, allocations: 16 kB / 1.032 GB, free: 12.55 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.0001061/0.3774, allocations: 99.23 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3775, allocations: 51.92 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3775, allocations: 4.062 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3776, allocations: 35.91 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3779, allocations: 8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.3783, allocations: 134 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3785, allocations: 0.6884 MB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.3786, allocations: 7.984 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.3786, allocations: 15.44 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.3786, allocations: 0 / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.003009/0.3816, allocations: 0.7764 MB / 1.034 GB, free: 10.67 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 -s cvode -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) Reference file matches