Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 176] 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 67.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3657, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002026/0.3677, allocations: 0.7094 MB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3688, allocations: 0.8506 MB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.3689, allocations: 0 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3689, allocations: 3.938 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.369, allocations: 7.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.3691, allocations: 27.95 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.3692, allocations: 39.92 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3693, allocations: 11.98 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.3694, allocations: 19.92 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.3695, allocations: 27.91 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3695, allocations: 4 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3695, allocations: 7.938 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.3695, allocations: 11.92 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.3696, allocations: 19.92 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.3697, allocations: 47.73 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3697, allocations: 4 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3697, allocations: 3.938 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3697, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 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.0006016/0.3703, allocations: 363.3 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3704, allocations: 8.031 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.3704, allocations: 0.9375 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3706, allocations: 176.3 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3706, allocations: 4.375 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3706, allocations: 8.375 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.3708, allocations: 69.59 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3708, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3708, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3708, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.371, allocations: 51.89 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.3715, allocations: 296.8 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3717, allocations: 62.58 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3719, allocations: 28.88 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3719, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3719, allocations: 34.5 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3719, allocations: 4 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004188/0.3723, allocations: 109.6 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3724, allocations: 55.39 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.3725, allocations: 105.9 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3725, allocations: 29.7 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.3725, allocations: 88.08 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3726, allocations: 11.95 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3726, allocations: 21.7 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3728, allocations: 318.8 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3729, allocations: 19.98 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.3729, allocations: 23.97 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3731, allocations: 60.69 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3731, allocations: 4 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002349/0.3734, allocations: 85.59 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3734, allocations: 8 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3734, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3734, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3735, allocations: 11.98 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3735, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.3736, allocations: 15.86 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3736, allocations: 8.312 kB / 1.22 GB, free: 11.29 MB / 0.9669 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.0001094/0.3737, allocations: 121.7 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.3737, allocations: 4 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.3738, allocations: 7.906 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3738, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3738, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3738, allocations: 3.984 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.374, allocations: 173.6 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.374, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.3741, allocations: 15.98 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3741, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3741, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3741, allocations: 7.984 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3741, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3744, allocations: 183.4 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.3745, allocations: 77.11 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3745, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3746, allocations: 15.92 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3747, allocations: 7.984 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3747, allocations: 8 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.3747, allocations: 83.27 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3747, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002292/0.375, allocations: 19.89 kB / 1.221 GB, free: 10.46 MB / 0.9669 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.0001767/0.3751, allocations: 107.6 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3754, allocations: 47.95 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3754, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3756, allocations: 40 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3759, allocations: 5.75 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.3763, allocations: 150.4 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3766, allocations: 0.6807 MB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.3766, allocations: 4 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.3767, allocations: 19.42 kB / 1.222 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3767, allocations: 0 / 1.222 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of Templates: time 0.003631/0.3803, allocations: 0.9009 MB / 1.222 GB, free: 8.461 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.591519057750702]