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.001442/0.001442, allocations: 115.4 kB / 16.37 MB, free: 6.016 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.001538/0.001538, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.92 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3644, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002312/0.3667, allocations: 0.7093 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3677, allocations: 0.8389 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.3678, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3678, allocations: 7.922 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.3679, allocations: 11.94 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3681, allocations: 15.98 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.3682, allocations: 51.89 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3683, allocations: 8 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.3684, allocations: 23.92 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.3685, allocations: 27.89 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.3685, allocations: 4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3685, allocations: 4 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3685, allocations: 19.92 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3686, allocations: 11.94 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3687, allocations: 55.78 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3687, allocations: 3.938 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3687, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3687, 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.0007747/0.3695, allocations: 351.4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.3696, allocations: 8.031 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3696, allocations: 12.84 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3699, allocations: 164.4 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.3699, allocations: 8.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3699, allocations: 384 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.3701, allocations: 73.77 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3702, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3702, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3702, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.3704, allocations: 59.89 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.371, allocations: 296.6 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3712, allocations: 58.55 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3713, allocations: 36.91 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3714, allocations: 0 / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3714, allocations: 42.5 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3714, allocations: 0 / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004817/0.3719, allocations: 109.6 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.372, allocations: 51.41 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3721, allocations: 105.8 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3721, allocations: 29.7 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3722, allocations: 92.05 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3722, allocations: 7.891 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3723, allocations: 17.72 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3724, allocations: 318.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3726, allocations: 27.97 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.3726, allocations: 31.84 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3728, allocations: 57.08 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3728, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002245/0.3731, allocations: 77.66 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3731, allocations: 8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3731, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.3732, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3733, allocations: 15.98 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3733, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.3734, allocations: 7.984 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3734, allocations: 4 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 0.0001073/0.3735, allocations: 121.6 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3736, allocations: 7.906 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3736, allocations: 7.906 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3736, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3736, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3736, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3739, allocations: 185.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3739, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.374, allocations: 15.98 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.374, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.374, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.374, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.374, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3743, allocations: 191.3 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.3744, allocations: 77.11 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3744, allocations: 3.938 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3745, allocations: 7.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.3746, allocations: 11.98 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3746, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.3747, allocations: 87.27 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3747, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002234/0.3749, allocations: 12 kB / 1.031 GB, free: 13.21 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.000162/0.3751, allocations: 103.1 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3754, allocations: 59.94 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3754, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3755, allocations: 35.86 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3759, allocations: 11.98 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.0004568/0.3763, allocations: 125.6 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3767, allocations: 0.6845 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.3767, allocations: 7.984 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3768, allocations: 11.44 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3768, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.003539/0.3803, allocations: 0.8967 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 cvode -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