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 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.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.01006/0.01006, allocations: 100 kB / 15.73 MB, free: 6.453 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.001577/0.001577, allocations: 190.2 kB / 16.67 MB, free: 6.367 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.59/1.59, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.092/3.092, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 64.31 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4027, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003108/0.4059, allocations: 0.7066 MB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.4072, allocations: 0.8312 MB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.4073, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.4074, allocations: 3.938 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.4075, allocations: 7.875 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.4077, allocations: 23.97 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.4078, allocations: 51.84 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.408, allocations: 15.98 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.4081, allocations: 19.92 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.4082, allocations: 27.91 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.4082, allocations: 4 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.509e-05/0.4082, allocations: 4 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.4082, allocations: 7.984 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.4083, allocations: 19.88 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.4084, allocations: 47.78 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4084, allocations: 4 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4084, allocations: 4 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4084, allocations: 0 / 1.209 GB, free: 7.91 MB / 0.9669 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.0005813/0.409, allocations: 360.1 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4091, allocations: 8.031 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.4091, allocations: 8.844 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.4093, allocations: 164.4 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4093, allocations: 4.375 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.4094, allocations: 384 / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.4096, allocations: 81.58 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4096, allocations: 0 / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4096, allocations: 0 / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4097, allocations: 3.938 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.4099, allocations: 51.89 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.4104, allocations: 300.6 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.4106, allocations: 66.53 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4108, allocations: 28.91 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4108, allocations: 4 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4108, allocations: 38.5 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4109, allocations: 0 / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004699/0.4113, allocations: 105.6 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4114, allocations: 51.41 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4115, allocations: 113.8 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4115, allocations: 25.7 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.4116, allocations: 88.12 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.4116, allocations: 7.906 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.4117, allocations: 13.72 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4118, allocations: 330.8 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.4119, allocations: 19.98 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.412, allocations: 27.91 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.4122, allocations: 52.81 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4122, allocations: 3.938 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002519/0.4125, allocations: 85.56 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4125, allocations: 9.391 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4125, allocations: 4 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4126, allocations: 0 / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4127, allocations: 11.98 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4127, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.4128, allocations: 7.984 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4128, allocations: 0 / 1.211 GB, free: 5.652 MB / 0.9669 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.0001029/0.4129, allocations: 128.8 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4129, allocations: 4 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.413, allocations: 7.906 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.413, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.413, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.413, allocations: 3.938 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4132, allocations: 181.5 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4132, allocations: 4 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.4133, allocations: 11.98 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4133, allocations: 4 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4133, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4133, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4133, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4136, allocations: 187.6 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.4137, allocations: 85.14 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4137, allocations: 3.984 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4138, allocations: 12 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.4139, allocations: 11.98 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4139, allocations: 7.984 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.414, allocations: 79.28 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.414, allocations: 0 / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002299/0.4142, allocations: 15.94 kB / 1.212 GB, free: 4.82 MB / 0.9669 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.0001519/0.4144, allocations: 95.25 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.4147, allocations: 59.94 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4147, allocations: 0 / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4148, allocations: 39.91 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4152, allocations: 0 / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.4157, allocations: 141.4 kB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.416, allocations: 0.6846 MB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.201e-05/0.4161, allocations: 4 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.4161, allocations: 11.44 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of SimCode: time 5e-07/0.4161, allocations: 3.938 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of Templates: time 0.004319/0.4204, allocations: 0.9164 MB / 1.214 GB, free: 2.816 MB / 0.9669 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