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.0009839/0.0009887, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00117/0.00117, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.958/2.958, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 9.219 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.000936/0.3655, allocations: 445.7 kB / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3672, allocations: 1.245 MB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.3673, allocations: 4 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.3673, allocations: 4 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.763e-05/0.3674, allocations: 15.84 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.3682, allocations: 213.1 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3684, allocations: 207.6 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3685, allocations: 16.22 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.3686, allocations: 87.8 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3688, allocations: 79.77 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3688, allocations: 15.94 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.3689, allocations: 27.98 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.369, allocations: 19.91 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.369, allocations: 53.7 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3692, allocations: 155.8 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3693, allocations: 3.938 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3693, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3693, allocations: 4 kB / 1.061 GB, free: 2.742 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.0006918/0.37, allocations: 466.4 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.37, allocations: 8.031 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.3701, allocations: 19.89 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.3707, allocations: 256.5 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.3708, allocations: 15.94 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.3708, allocations: 24 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3711, allocations: 131.2 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3711, allocations: 4 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3711, allocations: 4 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3712, allocations: 0 / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3713, allocations: 59.95 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.3722, allocations: 0.524 MB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3725, allocations: 161.1 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3727, allocations: 61.69 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3727, allocations: 8 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.3731, allocations: 202.7 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.3731, allocations: 4 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0006593/0.3738, allocations: 312.1 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.3739, allocations: 85.25 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.374, allocations: 133.9 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3741, allocations: 41.7 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3742, allocations: 100.6 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.3742, allocations: 43.5 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.3743, allocations: 8 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3745, allocations: 334.8 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3746, allocations: 84.23 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.3749, allocations: 156 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3751, allocations: 143.4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3751, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005993/0.3757, allocations: 354.8 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.3759, allocations: 73.42 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3759, allocations: 4.281 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3759, allocations: 8 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.376, allocations: 20.3 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.376, allocations: 7.984 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.3764, allocations: 87.78 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.3764, allocations: 19.98 kB / 1.064 GB, free: 14.52 MB / 0.8262 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.3766, allocations: 155.8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3766, allocations: 15.81 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.3766, allocations: 20.5 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3766, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3767, allocations: 7.984 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3767, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.3773, allocations: 0.607 MB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3773, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.3773, allocations: 11.98 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3774, allocations: 4 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.3774, allocations: 8 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.3774, allocations: 11.98 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3774, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.3778, allocations: 423.1 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.3779, allocations: 92.94 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.3779, allocations: 8 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3781, allocations: 15.98 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.3781, allocations: 23.95 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3782, allocations: 19.92 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.3782, allocations: 98.64 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3782, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003509/0.3786, allocations: 52 kB / 1.066 GB, free: 12.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002398/0.3788, allocations: 127.2 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.3794, allocations: 342.6 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3794, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3796, allocations: 111.9 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.38, allocations: 31.92 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.3806, allocations: 297.7 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3809, allocations: 0.7127 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.362e-05/0.3809, allocations: 13.55 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.381, allocations: 23.42 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.381, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.005513/0.3865, allocations: 2.365 MB / 1.07 GB, free: 8.797 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches