Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_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_9_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.005091/0.005091, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001153/0.001153, allocations: 201.1 kB / 16.68 MB, free: 5.965 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.91 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3451, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002051/0.3472, allocations: 0.7039 MB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3483, allocations: 0.8277 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.3484, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3484, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.3486, allocations: 11.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3487, allocations: 27.92 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3488, allocations: 43.84 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.349, allocations: 15.98 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.3491, allocations: 19.98 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.3492, allocations: 27.84 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.3492, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.3492, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3492, allocations: 15.98 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.3493, allocations: 23.8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.3494, allocations: 47.8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3494, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3494, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3494, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 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.0006529/0.3501, allocations: 355.4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3501, allocations: 8.031 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3502, allocations: 8.891 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3504, allocations: 180.2 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3504, allocations: 4.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3504, allocations: 4.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3506, allocations: 69.58 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3506, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3507, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3507, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.3509, allocations: 51.89 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.3514, allocations: 288.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3516, allocations: 62.53 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3517, allocations: 40.91 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3517, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3518, allocations: 30.56 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3518, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.00043/0.3522, allocations: 113.5 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3523, allocations: 55.41 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3524, allocations: 109.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3524, allocations: 25.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3525, allocations: 84.22 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3525, allocations: 19.88 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3526, allocations: 17.72 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3527, allocations: 314.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3529, allocations: 31.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.3529, allocations: 23.97 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3531, allocations: 52.77 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3531, allocations: 3.984 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002371/0.3534, allocations: 77.66 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3534, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3534, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3535, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3536, allocations: 15.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3536, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.3537, allocations: 7.984 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3537, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 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 9.458e-05/0.3538, allocations: 121.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3538, allocations: 11.95 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.3539, allocations: 11.91 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3539, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3539, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3539, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3541, allocations: 181.5 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3541, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.3542, allocations: 15.98 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3542, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3542, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3542, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3542, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3545, allocations: 187.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3546, allocations: 77.11 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3546, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3547, allocations: 11.98 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.3548, allocations: 16.02 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3548, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.3549, allocations: 91.27 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3549, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002133/0.3551, allocations: 15.88 kB / 1.092 GB, free: 12.63 MB / 0.8575 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.0001402/0.3552, allocations: 99.25 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3555, allocations: 55.94 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3555, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3556, allocations: 31.98 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3559, allocations: 12.53 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.3564, allocations: 125.5 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3567, allocations: 0.6807 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.3567, allocations: 11.98 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.3568, allocations: 11.44 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3568, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of Templates: time 0.003441/0.3602, allocations: 0.8931 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches