Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001773/0.001773, allocations: 110.5 kB / 16.41 MB, free: 6.457 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.001974/0.001974, allocations: 192 kB / 17.34 MB, free: 5.699 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.665/1.665, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.863/2.863, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 151.7 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002164/1.021, allocations: 0.7421 MB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001928/1.023, allocations: 1.263 MB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/1.024, allocations: 0 / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/1.024, allocations: 7.875 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/1.024, allocations: 23.84 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007719/1.024, allocations: 244.4 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/1.025, allocations: 275.5 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/1.025, allocations: 12.23 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/1.025, allocations: 107.7 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/1.025, allocations: 95.67 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/1.025, allocations: 24 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/1.025, allocations: 35.98 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/1.026, allocations: 39.89 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/1.026, allocations: 91.73 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/1.026, allocations: 223.9 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/1.026, allocations: 0 / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.495e-06/1.026, allocations: 0 / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.642e-06/1.026, allocations: 0 / 1.17 GB, free: 0.707 MB / 0.8887 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.0009523/1.027, allocations: 0.4906 MB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.027, allocations: 12.88 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/1.027, allocations: 24.88 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/1.028, allocations: 253.4 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.028, allocations: 12.38 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/1.028, allocations: 24.36 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/1.028, allocations: 127.9 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.028, allocations: 3.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/1.028, allocations: 7.984 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.028, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/1.028, allocations: 63.89 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/1.029, allocations: 0.5124 MB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/1.029, allocations: 161.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/1.03, allocations: 65.69 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/1.03, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/1.03, allocations: 206 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/1.03, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.0006608/1.031, allocations: 314.8 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/1.031, allocations: 97.11 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.031, allocations: 135.8 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/1.031, allocations: 38.08 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/1.031, allocations: 100.7 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/1.031, allocations: 51.62 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.031, allocations: 73.67 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.031, allocations: 330.8 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.032, allocations: 84.22 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/1.032, allocations: 152.7 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/1.032, allocations: 248.2 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.032, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006166/1.033, allocations: 360.7 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/1.033, allocations: 63.61 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.033, allocations: 8 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.033, allocations: 4 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.033, allocations: 23.92 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/1.033, allocations: 12 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/1.034, allocations: 67.83 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/1.034, allocations: 19.98 kB / 1.174 GB, free: 12.26 MB / 0.9044 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.0001612/1.034, allocations: 144 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/1.034, allocations: 15.91 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/1.034, allocations: 16.5 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.034, allocations: 0 / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.034, allocations: 3.938 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.034, allocations: 7.984 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/1.035, allocations: 0.6043 MB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.035, allocations: 96 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/1.035, allocations: 15.92 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.035, allocations: 3.938 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.035, allocations: 8 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.035, allocations: 7.984 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.035, allocations: 0 / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/1.035, allocations: 423.8 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/1.035, allocations: 92.98 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/1.035, allocations: 7.938 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.035, allocations: 11.98 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/1.036, allocations: 23.97 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/1.036, allocations: 15.98 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.836e-05/1.036, allocations: 100.8 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.036, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000356/1.036, allocations: 59.94 kB / 1.176 GB, free: 10.62 MB / 0.9044 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.0002054/1.036, allocations: 124.7 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005858/1.037, allocations: 350.6 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.037, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/1.037, allocations: 107.9 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/1.037, allocations: 36.34 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/1.038, allocations: 280.1 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/1.039, allocations: 0.7047 MB / 1.177 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.347e-05/1.039, allocations: 21.53 kB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/1.039, allocations: 23.44 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/1.039, allocations: 0 / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of Templates: time 0.008737/1.047, allocations: 2.701 MB / 1.18 GB, free: 6.227 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches