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.001758/0.001758, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001887/0.001887, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 66.33 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.374, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002125/0.3762, allocations: 0.7384 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3779, allocations: 1.261 MB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.378, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.3781, allocations: 7.922 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.3781, allocations: 23.8 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.3789, allocations: 245.8 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.3792, allocations: 267.5 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3793, allocations: 24.2 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3794, allocations: 99.8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3796, allocations: 99.67 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.3796, allocations: 20 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.3797, allocations: 39.98 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.3798, allocations: 31.91 kB / 1.03 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3799, allocations: 95.73 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3801, allocations: 215.4 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3802, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3802, allocations: 4 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.3802, allocations: 0 / 1.03 GB, free: 14.93 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.0007097/0.3809, allocations: 0.4946 MB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3809, allocations: 8.031 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.381, allocations: 16.84 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.3816, allocations: 248.3 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.3817, allocations: 24.28 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.3817, allocations: 20.38 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.382, allocations: 143 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.382, allocations: 3.938 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.382, allocations: 11.98 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3821, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3822, allocations: 59.95 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.3829, allocations: 0.5123 MB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3832, allocations: 153.2 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.3833, allocations: 65.72 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3833, allocations: 4 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.3837, allocations: 208.8 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.3837, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0006936/0.3844, allocations: 309.4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3845, allocations: 85.05 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3846, allocations: 133.9 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3847, allocations: 45.69 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.3847, allocations: 93.23 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.3848, allocations: 47.41 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.385, allocations: 77.67 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3851, allocations: 318.8 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3853, allocations: 92.17 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.3855, allocations: 157.2 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.3858, allocations: 250 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3859, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005655/0.3864, allocations: 360.6 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.3865, allocations: 63.39 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3865, allocations: 7.938 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3865, allocations: 8.219 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.3866, allocations: 19.94 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3866, allocations: 7.922 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.387, allocations: 67.78 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.387, allocations: 15.98 kB / 1.034 GB, free: 10.51 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.00015/0.3872, allocations: 151.9 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3872, allocations: 15.89 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.3873, allocations: 12.5 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3873, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.3873, allocations: 3.938 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3873, allocations: 0 / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.3879, allocations: 0.6147 MB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3879, allocations: 4 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.388, allocations: 12.03 kB / 1.035 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.388, allocations: 7.875 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.388, allocations: 11.98 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.388, allocations: 0 / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.388, allocations: 3.984 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.3885, allocations: 419.7 kB / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3885, allocations: 92.86 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3886, allocations: 15.92 kB / 1.035 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3887, allocations: 11.98 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.3888, allocations: 19.97 kB / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.3888, allocations: 19.98 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.3889, allocations: 98.95 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3889, allocations: 0 / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003566/0.3892, allocations: 56 kB / 1.035 GB, free: 8.852 MB / 0.8106 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.0001848/0.3894, allocations: 119.2 kB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005053/0.3899, allocations: 340.3 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.39, allocations: 0 / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3901, allocations: 127.8 kB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3905, allocations: 32.36 kB / 1.036 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.3911, allocations: 275.4 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3914, allocations: 0.7047 MB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.072e-05/0.3915, allocations: 21.55 kB / 1.037 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.3915, allocations: 23.42 kB / 1.037 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3915, allocations: 0 / 1.037 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of Templates: time 0.005862/0.3974, allocations: 2.678 MB / 1.04 GB, free: 4.488 MB / 0.8106 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 -s cvode -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) Reference file matches