Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.008923/0.008923, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001726/0.001726, allocations: 192.9 kB / 16.67 MB, free: 5.887 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 159.1 MB / 1.221 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002086/1.005, allocations: 0.7325 MB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001798/1.007, allocations: 1.26 MB / 1.223 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/1.007, allocations: 7.938 kB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/1.007, allocations: 7.922 kB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.82e-05/1.007, allocations: 19.8 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/1.008, allocations: 259.1 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/1.008, allocations: 251.5 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/1.008, allocations: 12.22 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/1.009, allocations: 99.8 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/1.009, allocations: 95.73 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/1.009, allocations: 24 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/1.009, allocations: 35.98 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/1.009, allocations: 31.91 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/1.009, allocations: 87.75 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/1.009, allocations: 227.8 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.01, allocations: 4 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/1.01, allocations: 4 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.01, allocations: 0 / 1.224 GB, free: 15.03 MB / 0.9512 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.000842/1.01, allocations: 0.4945 MB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.01, allocations: 8.031 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/1.01, allocations: 20.84 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/1.011, allocations: 248.4 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/1.011, allocations: 12.36 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/1.011, allocations: 24.31 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/1.011, allocations: 139.8 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.011, allocations: 3.938 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.011, allocations: 4 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.011, allocations: 0 / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/1.012, allocations: 67.94 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/1.012, allocations: 0.5123 MB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/1.013, allocations: 133.2 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/1.013, allocations: 53.69 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/1.013, allocations: 0 / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/1.013, allocations: 208.8 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/1.013, allocations: 0 / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22): time 0.0006278/1.014, allocations: 309.4 kB / 1.226 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.014, allocations: 85.05 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/1.014, allocations: 132.5 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/1.014, allocations: 41.7 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/1.014, allocations: 108.8 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/1.014, allocations: 47.64 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.014, allocations: 73.67 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.015, allocations: 326.8 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/1.015, allocations: 88.17 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/1.015, allocations: 168.6 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/1.015, allocations: 251.4 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.015, allocations: 0 / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005552/1.016, allocations: 365.9 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/1.016, allocations: 67.39 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.016, allocations: 0 / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.016, allocations: 4 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.016, allocations: 15.94 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.016, allocations: 20.08 kB / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/1.016, allocations: 63.83 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/1.016, allocations: 23.98 kB / 1.228 GB, free: 10.61 MB / 0.9512 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.0001374/1.016, allocations: 136.6 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/1.017, allocations: 23.89 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/1.017, allocations: 16.5 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.017, allocations: 4 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.017, allocations: 3.938 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.017, allocations: 0 / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/1.017, allocations: 0.6071 MB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.017, allocations: 0 / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/1.017, allocations: 7.938 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/1.017, allocations: 11.94 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.017, allocations: 7.984 kB / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.017, allocations: 0 / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.017, allocations: 0 / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/1.018, allocations: 421.1 kB / 1.229 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/1.018, allocations: 96.89 kB / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/1.018, allocations: 19.86 kB / 1.229 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/1.018, allocations: 19.98 kB / 1.229 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/1.018, allocations: 15.97 kB / 1.229 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/1.018, allocations: 15.98 kB / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.599e-05/1.018, allocations: 100.8 kB / 1.229 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/1.018, allocations: 0 / 1.229 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003498/1.018, allocations: 52 kB / 1.229 GB, free: 8.965 MB / 0.9512 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.0002077/1.019, allocations: 111.3 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004824/1.019, allocations: 326.5 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.019, allocations: 0 / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.019, allocations: 83.88 kB / 1.23 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/1.02, allocations: 32.14 kB / 1.23 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/1.02, allocations: 276.6 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/1.021, allocations: 0.7086 MB / 1.231 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.192e-05/1.021, allocations: 21.55 kB / 1.231 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/1.021, allocations: 19.42 kB / 1.231 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/1.021, allocations: 3.938 kB / 1.231 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of Templates: time 0.00631/1.027, allocations: 2.709 MB / 1.233 GB, free: 4.633 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches