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.006317/0.006317, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001478/0.001478, allocations: 195.1 kB / 16.67 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.49/2.49, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.7 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3609, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00189/0.3628, allocations: 0.7007 MB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3639, allocations: 0.8394 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.3639, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.364, allocations: 3.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.3641, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.3642, allocations: 23.91 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.3643, allocations: 51.86 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3645, allocations: 19.97 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.3646, allocations: 15.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.3646, allocations: 23.92 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.3647, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3647, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.3647, allocations: 11.98 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.3648, allocations: 31.84 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.3649, allocations: 39.88 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3649, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3649, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3649, allocations: 0 / 1.09 GB, free: 15.74 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.000543/0.3654, allocations: 355.4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3655, allocations: 8.031 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3655, allocations: 8.844 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3657, allocations: 180.2 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3657, allocations: 4.375 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3657, allocations: 4.375 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3659, allocations: 65.59 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3659, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3659, allocations: 8 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.366, allocations: 7.938 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3661, allocations: 43.95 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.3666, allocations: 300.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3668, allocations: 62.53 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.3669, allocations: 32.91 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.367, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.367, allocations: 34.56 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.367, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003822/0.3674, allocations: 109.6 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3674, allocations: 55.39 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.3675, allocations: 105.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3675, allocations: 29.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.3676, allocations: 92.03 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3676, allocations: 11.91 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3676, allocations: 17.72 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3678, allocations: 326.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.3679, allocations: 19.98 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.368, allocations: 23.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3681, allocations: 56.75 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3681, allocations: 4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002075/0.3684, allocations: 81.64 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3684, allocations: 8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3684, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3684, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3685, allocations: 11.98 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3685, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.3686, allocations: 19.83 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3686, allocations: 4 kB / 1.092 GB, free: 13.47 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 7.726e-05/0.3687, allocations: 113.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3688, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.3688, allocations: 7.906 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3688, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3688, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3688, allocations: 11.86 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.369, allocations: 177.7 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.369, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.3691, allocations: 11.98 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3691, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3691, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3691, allocations: 3.984 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3691, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3694, allocations: 183.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3694, allocations: 81.14 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3695, allocations: 3.984 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.3696, allocations: 11.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3696, allocations: 11.98 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3696, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.3697, allocations: 83.28 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3697, allocations: 3.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00022/0.3699, allocations: 11.94 kB / 1.092 GB, free: 12.65 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.0001196/0.37, allocations: 107.2 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3703, allocations: 51.95 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3703, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3704, allocations: 31.97 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3707, allocations: 5.719 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3711, allocations: 153.4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3713, allocations: 0.6768 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.3713, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3714, allocations: 15.44 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3714, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of Templates: time 0.002882/0.3743, allocations: 0.8872 MB / 1.094 GB, free: 10.67 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