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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006831/0.006831, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001279/0.001279, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 64.14 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002432/1.087, allocations: 0.728 MB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002057/1.089, allocations: 1.264 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/1.089, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.621e-05/1.089, allocations: 3.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/1.089, allocations: 23.78 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000918/1.09, allocations: 250.1 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/1.091, allocations: 267.6 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/1.091, allocations: 12.23 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/1.091, allocations: 99.8 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/1.091, allocations: 91.73 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/1.091, allocations: 28 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/1.091, allocations: 39.98 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/1.092, allocations: 27.91 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/1.092, allocations: 95.73 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/1.092, allocations: 235.1 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/1.092, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/1.092, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.092, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 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.001043/1.093, allocations: 0.4887 MB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/1.093, allocations: 8.031 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/1.093, allocations: 20.75 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/1.094, allocations: 244.4 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/1.094, allocations: 16.38 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/1.094, allocations: 28.34 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/1.094, allocations: 139.1 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.094, allocations: 3.938 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/1.094, allocations: 3.984 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.094, allocations: 4 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/1.095, allocations: 59.95 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/1.096, allocations: 0.5201 MB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/1.096, allocations: 157.2 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/1.096, allocations: 61.69 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/1.096, allocations: 4 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/1.096, allocations: 200.9 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 4.188e-06/1.096, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0006614/1.097, allocations: 317.3 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/1.097, allocations: 93.03 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/1.097, allocations: 126.1 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/1.097, allocations: 37.7 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/1.098, allocations: 100.8 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/1.098, allocations: 47.36 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/1.098, allocations: 77.67 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.098, allocations: 322.8 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.098, allocations: 88.23 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/1.098, allocations: 156.7 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/1.099, allocations: 266.7 kB / 1.214 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.099, allocations: 0 / 1.214 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006571/1.099, allocations: 356.8 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/1.099, allocations: 63.39 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.099, allocations: 4 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.1, allocations: 0 / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.1, allocations: 27.92 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.1, allocations: 3.938 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/1.1, allocations: 67.91 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.1, allocations: 23.98 kB / 1.215 GB, free: 6.039 MB / 0.9356 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.0001746/1.1, allocations: 140 kB / 1.215 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/1.1, allocations: 15.81 kB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/1.1, allocations: 12.5 kB / 1.215 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.1, allocations: 4 kB / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.1, allocations: 7.875 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.1, allocations: 7.984 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/1.101, allocations: 0.6031 MB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.101, allocations: 0 / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/1.101, allocations: 15.92 kB / 1.216 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.101, allocations: 3.938 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.101, allocations: 8 kB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.101, allocations: 0 / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.101, allocations: 4 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/1.102, allocations: 433.2 kB / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/1.102, allocations: 84.95 kB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/1.102, allocations: 19.92 kB / 1.216 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.102, allocations: 7.984 kB / 1.216 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/1.102, allocations: 27.91 kB / 1.216 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/1.102, allocations: 23.92 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.134e-05/1.102, allocations: 91.27 kB / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.102, allocations: 4 kB / 1.216 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004076/1.103, allocations: 59.98 kB / 1.216 GB, free: 4.383 MB / 0.9356 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.0002382/1.103, allocations: 111.2 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005345/1.103, allocations: 342.5 kB / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.103, allocations: 0 / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/1.104, allocations: 123.6 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.104, allocations: 37.94 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/1.105, allocations: 268.3 kB / 1.217 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/1.105, allocations: 0.6969 MB / 1.218 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.77e-05/1.105, allocations: 25.53 kB / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/1.105, allocations: 19.44 kB / 1.218 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/1.105, allocations: 4 kB / 1.218 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of Templates: time 0.007185/1.112, allocations: 2.698 MB / 1.221 GB, free: 12 kB / 0.9356 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