Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001544/0.001544, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001967, allocations: 64.41 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3641, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002371/0.3665, allocations: 0.707 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3676, allocations: 0.8351 MB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.3677, allocations: 4 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.3678, allocations: 3.938 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.777e-05/0.3679, allocations: 11.92 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.368, allocations: 15.98 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3682, allocations: 55.83 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3683, allocations: 12 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.3684, allocations: 19.92 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.3685, allocations: 31.84 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3685, allocations: 7.984 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.3685, allocations: 7.938 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.3685, allocations: 8 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.3686, allocations: 23.86 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3687, allocations: 43.84 kB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3687, allocations: 0 / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3687, allocations: 0 / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3687, allocations: 0 / 1.021 GB, free: 8.062 MB / 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.0006103/0.3694, allocations: 363.3 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3694, allocations: 8.031 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3694, allocations: 0.9375 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3696, allocations: 172.3 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3696, allocations: 4.375 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.3697, allocations: 4.375 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3699, allocations: 73.72 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3699, allocations: 0 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3699, allocations: 3.984 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3699, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.3701, allocations: 55.89 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.3707, allocations: 292.7 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3709, allocations: 70.47 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.371, allocations: 28.91 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.371, allocations: 7.984 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3711, allocations: 38.56 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3711, allocations: 0 / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004067/0.3715, allocations: 105.6 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3715, allocations: 51.41 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.3716, allocations: 109.8 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3716, allocations: 29.7 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.3717, allocations: 88.14 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3717, allocations: 7.812 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.3718, allocations: 21.7 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3719, allocations: 314.8 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.372, allocations: 31.97 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.3721, allocations: 19.98 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.3723, allocations: 56.81 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3723, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002448/0.3726, allocations: 85.58 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3726, allocations: 6.812 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3726, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3726, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3727, allocations: 7.984 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3728, allocations: 8 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.3728, allocations: 11.92 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3729, allocations: 4 kB / 1.023 GB, free: 5.797 MB / 0.795 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,intLesThr.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.676e-05/0.373, allocations: 113.8 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.373, allocations: 7.891 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.373, allocations: 11.91 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.373, allocations: 0 / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.373, allocations: 0 / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3731, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3732, allocations: 185.5 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3733, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.3734, allocations: 11.98 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.3737, allocations: 187.4 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.3737, allocations: 89.39 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3738, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3739, allocations: 7.984 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.3739, allocations: 11.98 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.374, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.374, allocations: 95.56 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.374, allocations: 0 / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002275/0.3743, allocations: 8 kB / 1.023 GB, free: 4.98 MB / 0.795 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 (intLesThr.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.0001276/0.3744, allocations: 107.2 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3747, allocations: 55.89 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3747, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3748, allocations: 31.97 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3751, allocations: 8 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.3755, allocations: 135.1 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3758, allocations: 0.6807 MB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.3758, allocations: 7.984 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.3759, allocations: 11.44 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.3759, allocations: 4 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of Templates: time 0.003207/0.3791, allocations: 0.8846 MB / 1.025 GB, free: 3.004 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches