Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_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_latest_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.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001817/0.001818, allocations: 198.2 kB / 16.14 MB, free: 6.711 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.612/1.612, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 65.23 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4682, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002402/0.4706, allocations: 0.7586 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4719, allocations: 0.8468 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.4719, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.472, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.4721, allocations: 11.81 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.4722, allocations: 19.97 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.4723, allocations: 43.91 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4724, allocations: 12 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.4725, allocations: 19.92 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.4726, allocations: 27.89 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.4726, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.4727, allocations: 4 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.4727, allocations: 4 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.4727, allocations: 19.86 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4729, allocations: 47.86 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4729, allocations: 3.984 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4729, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4729, allocations: 4 kB / 1.069 GB, free: 9.059 MB / 0.8262 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.0006253/0.4735, allocations: 351.7 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4736, allocations: 8.031 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.4736, allocations: 8.844 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4738, allocations: 160.4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4738, allocations: 12.31 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4738, allocations: 4.312 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.474, allocations: 73.78 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.474, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.4741, allocations: 7.984 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4741, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.4743, allocations: 55.94 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.4748, allocations: 300.6 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.475, allocations: 62.53 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4752, allocations: 28.92 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.4752, allocations: 4 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4752, allocations: 30.56 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.4752, allocations: 4 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005266/0.4758, allocations: 113.5 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4758, allocations: 51.41 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4759, allocations: 105.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.4759, allocations: 25.7 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.476, allocations: 92.05 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.476, allocations: 3.906 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.4761, allocations: 25.7 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4762, allocations: 318.8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4763, allocations: 23.97 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.4764, allocations: 23.98 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4766, allocations: 48.81 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4766, allocations: 7.938 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002352/0.4769, allocations: 89.48 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4769, allocations: 5.562 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4769, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4769, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.4771, allocations: 11.98 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4771, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.4772, allocations: 11.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.4772, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 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.0001058/0.4774, allocations: 113.8 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.4774, allocations: 3.938 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.4774, allocations: 15.89 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4774, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4774, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4775, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4776, allocations: 177.9 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4777, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.4778, allocations: 15.98 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.4778, allocations: 3.984 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4778, allocations: 7.938 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4778, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4778, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.4781, allocations: 187.3 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.4782, allocations: 81.11 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4782, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4783, allocations: 11.98 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.4784, allocations: 11.98 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4784, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.4784, allocations: 91.27 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4784, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002161/0.4787, allocations: 8 kB / 1.072 GB, free: 5.98 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: 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.0001731/0.4788, allocations: 103.2 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.4791, allocations: 55.89 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4791, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4793, allocations: 31.97 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.4796, allocations: 5.719 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.48, allocations: 143.1 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4804, allocations: 0.6809 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.737e-05/0.4805, allocations: 7.984 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.4805, allocations: 15.44 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4805, allocations: 11.88 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Templates: time 0.003719/0.4843, allocations: 0.7691 MB / 1.074 GB, free: 4.109 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches