Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_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_9_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.008247/0.008246, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001603/0.001603, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.573/2.573, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.59 kB / 0.9509 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.36, allocations: 140.4 MB / 1.088 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001953/0.362, allocations: 0.6973 MB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.363, allocations: 0.8432 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.3631, allocations: 4 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.3632, allocations: 3.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.3632, allocations: 3.938 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3634, allocations: 23.97 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3635, allocations: 43.86 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3637, allocations: 15.97 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.3637, allocations: 19.98 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.3638, allocations: 27.86 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3639, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3639, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.3639, allocations: 11.97 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.3639, allocations: 23.86 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3641, allocations: 51.81 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3641, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3641, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3641, allocations: 0 / 1.09 GB, free: 15.8 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.0006645/0.3648, allocations: 359.4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3648, allocations: 8.031 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.3649, allocations: 8.844 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.365, allocations: 168.3 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3651, allocations: 8.375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3651, allocations: 384 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3653, allocations: 69.59 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3653, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3653, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3653, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.3655, allocations: 59.81 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.366, allocations: 288.7 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3662, allocations: 62.53 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3664, allocations: 36.92 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.3664, allocations: 3.938 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3664, allocations: 30.56 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3664, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004192/0.3669, allocations: 105.6 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.3669, allocations: 59.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.367, allocations: 105.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.367, allocations: 25.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.3671, allocations: 92.05 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3671, allocations: 7.969 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.3672, allocations: 21.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3674, allocations: 318.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.3675, allocations: 31.84 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.3676, allocations: 27.98 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3678, allocations: 53.08 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3678, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002184/0.368, allocations: 81.64 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.368, allocations: 9.719 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3681, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3681, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.3682, allocations: 11.98 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3682, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.3683, allocations: 23.77 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3683, allocations: 0 / 1.092 GB, free: 13.54 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,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 8.288e-05/0.3684, allocations: 115.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.3684, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.3685, allocations: 7.906 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3685, allocations: 7.984 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3685, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3685, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3688, allocations: 177.5 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3688, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.3689, allocations: 15.98 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3689, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3689, allocations: 7.984 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3689, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3689, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3692, allocations: 191.3 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.3692, allocations: 81.11 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3693, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3694, allocations: 7.984 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3694, allocations: 11.98 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3695, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.3695, allocations: 87.59 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3695, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002198/0.3697, allocations: 11.94 kB / 1.092 GB, free: 12.72 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 (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.0001479/0.3699, allocations: 99.23 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3702, allocations: 55.95 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3702, allocations: 0 / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3703, allocations: 39.91 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.3706, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.371, allocations: 141.5 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3713, allocations: 0.6845 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.004e-05/0.3714, allocations: 8 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.3714, allocations: 15.42 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of SimCode: time 8.22e-07/0.3714, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of Templates: time 0.003376/0.3748, allocations: 0.908 MB / 1.094 GB, free: 10.72 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches