Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001086, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008209/0.008209, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.035/3.035, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004923, allocations: 12.94 kB / 0.9028 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4644, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.00134/0.4658, allocations: 499.3 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.4672, allocations: 0.8663 MB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.4673, allocations: 0 / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.4673, allocations: 7.938 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.4675, allocations: 7.922 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.4677, allocations: 35.97 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.4678, allocations: 83.72 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.468, allocations: 23.94 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4681, allocations: 31.84 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.4682, allocations: 47.81 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.4682, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.4683, allocations: 4 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.4683, allocations: 19.86 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.4684, allocations: 61.48 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.4686, allocations: 75.72 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.4686, allocations: 3.984 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4686, allocations: 0 / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4686, allocations: 0 / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008155/0.4694, allocations: 395.5 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4695, allocations: 8.031 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.4695, allocations: 8.844 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.4697, allocations: 180.2 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.4698, allocations: 384 / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.4698, allocations: 8.375 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.4702, allocations: 121.7 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4702, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.4702, allocations: 4 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4702, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.4707, allocations: 119.9 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.4714, allocations: 344.6 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.472, allocations: 130.6 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.4723, allocations: 64.81 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.4723, allocations: 8 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4723, allocations: 42.42 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.4723, allocations: 0 / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0008669/0.4732, allocations: 213.5 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.4733, allocations: 51.41 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4735, allocations: 121.8 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4735, allocations: 25.7 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.4736, allocations: 92.05 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.4736, allocations: 27.64 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.4737, allocations: 17.72 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4738, allocations: 322.8 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.474, allocations: 55.95 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.4743, allocations: 63.94 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.4747, allocations: 112.7 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4747, allocations: 4 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000463/0.4751, allocations: 153.6 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4752, allocations: 4.938 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4752, allocations: 0.5469 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4752, allocations: 0 / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.4754, allocations: 31.97 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4754, allocations: 4 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.4756, allocations: 23.83 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4756, allocations: 7.922 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001194/0.4757, allocations: 123.3 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4758, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.4758, allocations: 12.38 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4758, allocations: 4 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4758, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4758, allocations: 7.922 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4761, allocations: 205.4 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.4761, allocations: 7.938 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.4763, allocations: 27.97 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4763, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4763, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4763, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4763, allocations: 3.984 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.4768, allocations: 255.3 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.4769, allocations: 85 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4769, allocations: 8 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.4771, allocations: 19.98 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.4772, allocations: 19.97 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.4773, allocations: 7.938 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.4773, allocations: 95.27 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4773, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000243/0.4776, allocations: 12 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001849/0.4778, allocations: 107.2 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.4783, allocations: 119.9 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4783, allocations: 3.938 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.4785, allocations: 75.94 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.4789, allocations: 8 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.4794, allocations: 189.3 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4798, allocations: 0.6887 MB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.4799, allocations: 15.98 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.48, allocations: 23.36 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.48, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.004727/0.4847, allocations: 1.341 MB / 1.066 GB, free: 13.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches