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.0009022/0.0009022, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.309 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: 462.6 MB / 0.737 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003649, allocations: 11.53 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001932/0.3513, allocations: 1.195 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.3522, allocations: 446.8 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.3523, allocations: 4 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.3523, allocations: 3.938 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3524, allocations: 3.938 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.3526, allocations: 15.98 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3527, allocations: 47.89 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3528, allocations: 8 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.3529, allocations: 27.86 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.353, allocations: 15.92 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.353, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.353, allocations: 4 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3531, allocations: 11.92 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.3531, allocations: 49.56 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.881e-05/0.3532, allocations: 35.88 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3532, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3532, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3532, allocations: 0 / 1.061 GB, free: 3.039 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.0005499/0.3538, allocations: 351.7 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3538, allocations: 15.97 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.3539, allocations: 4.922 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3541, allocations: 176.2 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3541, allocations: 8.375 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3541, allocations: 4.375 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3542, allocations: 65.92 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3543, allocations: 4 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3543, allocations: 0 / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3543, allocations: 4 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.3544, allocations: 23.98 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.3549, allocations: 308.7 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.355, allocations: 50.56 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.3551, allocations: 24.95 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.3551, allocations: 4 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.3553, allocations: 75.41 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3553, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002455/0.3556, allocations: 101.8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3556, allocations: 59.38 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.3557, allocations: 101.9 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3558, allocations: 29.8 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.3558, allocations: 95.97 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3559, allocations: 19.75 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3559, allocations: 21.7 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.356, allocations: 318.8 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.3561, allocations: 19.98 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.3562, allocations: 51.36 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3563, allocations: 63.38 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3563, allocations: 0 / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001541/0.3564, allocations: 97.45 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3565, allocations: 8.031 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3565, allocations: 4.281 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3565, allocations: 0 / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.3566, allocations: 15.98 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3566, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.3567, allocations: 8 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3567, allocations: 4 kB / 1.063 GB, free: 0.6953 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.0001088/0.3568, allocations: 125.7 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.3568, allocations: 15.89 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.3568, allocations: 7.969 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3569, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3569, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3569, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.3573, allocations: 362.4 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3573, allocations: 0 / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.3574, allocations: 8.062 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3574, allocations: 4 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.3574, allocations: 3.984 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3574, allocations: 3.938 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3574, allocations: 0 / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3576, allocations: 187.5 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3576, allocations: 85.03 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3577, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.3578, allocations: 19.94 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.3578, allocations: 15.92 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3578, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.3579, allocations: 83.27 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3579, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.3582, allocations: 19.91 kB / 1.064 GB, free: 15.66 MB / 0.8262 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.0001389/0.3583, allocations: 97.5 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3585, allocations: 55.92 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3585, allocations: 3.938 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.3585, allocations: 31.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3588, allocations: 11.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.3592, allocations: 178.4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3595, allocations: 0.6927 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.3595, allocations: 11.44 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3595, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.002489/0.362, allocations: 0.8527 MB / 1.066 GB, free: 13.68 MB / 0.8262 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