Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 104.1 kB / 15.88 MB, free: 4 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.001877/0.001877, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 64.91 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3164, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002022/0.3185, allocations: 0.7934 MB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3202, allocations: 1.287 MB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.3203, allocations: 4 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.3203, allocations: 3.984 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.776e-05/0.3204, allocations: 11.86 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.3211, allocations: 228.8 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3214, allocations: 231.5 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3215, allocations: 16.22 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3217, allocations: 83.86 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.3218, allocations: 83.7 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.3219, allocations: 12 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.322, allocations: 27.98 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.322, allocations: 27.95 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3221, allocations: 87.73 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.3223, allocations: 163.8 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3224, allocations: 0 / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3224, allocations: 0 / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3224, allocations: 0 / 1.056 GB, free: 5.219 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008025/0.3232, allocations: 0.4946 MB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3232, allocations: 15.91 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.3233, allocations: 16.84 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.324, allocations: 252.3 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.324, allocations: 16.36 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.3241, allocations: 24.38 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.3244, allocations: 128.9 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3244, allocations: 3.938 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.3244, allocations: 15.98 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3244, allocations: 0 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3246, allocations: 59.95 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.3254, allocations: 0.5123 MB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3257, allocations: 157.2 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.3258, allocations: 65.73 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.3258, allocations: 0 / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.3262, allocations: 215.2 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.3262, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005818/0.3268, allocations: 310.6 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3268, allocations: 85.05 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3269, allocations: 139.8 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.327, allocations: 41.69 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3271, allocations: 96.7 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.3271, allocations: 47.41 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3272, allocations: 73.67 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3274, allocations: 323.2 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3276, allocations: 84.23 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3278, allocations: 156.2 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.3281, allocations: 254.9 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3281, allocations: 0 / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000576/0.3287, allocations: 359.6 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.3287, allocations: 63.61 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3288, allocations: 8 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3288, allocations: 4 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3289, allocations: 23.92 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3289, allocations: 7.938 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3293, allocations: 63.78 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.3293, allocations: 19.97 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001427/0.3295, allocations: 148 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3295, allocations: 15.89 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.3296, allocations: 12.5 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3296, allocations: 4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3296, allocations: 3.938 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.3296, allocations: 4 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.3303, allocations: 0.6186 MB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3303, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.3303, allocations: 8 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3304, allocations: 3.938 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3304, allocations: 15.92 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3304, allocations: 4.094 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3304, allocations: 3.938 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.3308, allocations: 414.6 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.3309, allocations: 96.86 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3309, allocations: 11.92 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3311, allocations: 11.98 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.3312, allocations: 23.97 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3312, allocations: 19.98 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.3313, allocations: 95.27 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.774e-06/0.3313, allocations: 7.938 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003875/0.3317, allocations: 55.92 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000186/0.3318, allocations: 115.2 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.3324, allocations: 338.6 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3324, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3326, allocations: 120.3 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.333, allocations: 40.34 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.3335, allocations: 326.5 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.3338, allocations: 0.705 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.3339, allocations: 19.44 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3339, allocations: 0 / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.004532/0.3384, allocations: 2.244 MB / 1.065 GB, free: 11.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time