Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001777/0.001777, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 65.12 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001865/0.3626, allocations: 0.717 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.3634, allocations: 0.8312 MB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.3634, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.3635, allocations: 3.938 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.3636, allocations: 7.938 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.3637, allocations: 23.91 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.3638, allocations: 51.84 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3639, allocations: 15.98 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.364, allocations: 23.92 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.3641, allocations: 23.91 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3641, allocations: 4 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3641, allocations: 4 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.3641, allocations: 15.98 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.3642, allocations: 15.86 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.713e-05/0.3642, allocations: 47.86 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3643, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3643, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3643, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005068/0.3648, allocations: 359.4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3648, allocations: 8.031 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.3649, allocations: 8.844 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.365, allocations: 172.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.365, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.365, allocations: 4.375 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3652, allocations: 65.78 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3652, allocations: 3.984 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3653, allocations: 4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3653, allocations: 7.938 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.3655, allocations: 51.94 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.3659, allocations: 292.6 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3661, allocations: 66.53 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3662, allocations: 32.92 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3662, allocations: 4.062 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3663, allocations: 30.56 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3663, allocations: 0 / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003865/0.3667, allocations: 113.5 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3667, allocations: 55.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.3668, allocations: 105.8 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3668, allocations: 29.7 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.3668, allocations: 88.05 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3669, allocations: 7.906 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.3669, allocations: 21.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.367, allocations: 314.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3671, allocations: 31.97 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/0.3672, allocations: 19.98 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3674, allocations: 48.81 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3674, allocations: 4 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002198/0.3676, allocations: 81.58 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3676, allocations: 12 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3677, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3677, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3678, allocations: 15.98 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3678, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.3679, allocations: 11.98 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3679, allocations: 7.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 6.911e-05/0.368, allocations: 113.7 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.368, allocations: 7.906 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.368, allocations: 15.89 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.368, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3681, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3681, allocations: 336 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3682, allocations: 177.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3682, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.3683, allocations: 19.92 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3683, allocations: 3.984 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3684, allocations: 3.984 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3684, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3684, allocations: 8 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3686, allocations: 183.3 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.3687, allocations: 81.05 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3687, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3688, allocations: 7.984 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3689, allocations: 11.98 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3689, allocations: 8 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.3689, allocations: 83.28 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.369, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002255/0.3692, allocations: 8 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001124/0.3693, allocations: 103.2 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3695, allocations: 59.89 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3696, allocations: 4 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3697, allocations: 31.97 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3699, allocations: 6.5 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.3703, allocations: 129.6 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3705, allocations: 0.6883 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.3705, allocations: 8 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.3706, allocations: 15.42 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3706, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.002967/0.3736, allocations: 0.8851 MB / 1.033 GB, free: 11.21 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches