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.001026/0.001026, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009812/0.009812, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.999/2.999, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 12.12 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3754, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001147/0.3766, allocations: 435.5 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3779, allocations: 0.8351 MB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.378, allocations: 0 / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.378, allocations: 7.938 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.866e-05/0.3781, allocations: 0 / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.3784, allocations: 27.92 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.3785, allocations: 43.89 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3786, allocations: 12 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.3787, allocations: 15.92 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.3788, allocations: 23.86 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3788, allocations: 3.938 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.3789, allocations: 8 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.379, allocations: 11.97 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.379, allocations: 41.58 kB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.723e-05/0.3791, allocations: 39.84 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3791, allocations: 0 / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.876e-06/0.3792, allocations: 0 / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3792, allocations: 0 / 1.06 GB, free: 4.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006592/0.3798, allocations: 368.8 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3799, allocations: 8.031 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3799, allocations: 8.938 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3801, allocations: 168.3 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3801, allocations: 8.359 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3802, allocations: 384 / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3804, allocations: 81.72 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3804, allocations: 4 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3804, allocations: 0 / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3804, allocations: 4 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3807, allocations: 55.95 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.3812, allocations: 296.8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3815, allocations: 66.48 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3816, allocations: 40.91 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3816, allocations: 0 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3816, allocations: 30.56 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 3.747e-06/0.3817, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004753/0.3821, allocations: 133.5 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3822, allocations: 59.33 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3824, allocations: 109.9 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3824, allocations: 29.7 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3825, allocations: 88.12 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3825, allocations: 11.81 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3825, allocations: 13.72 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.3827, allocations: 326.8 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3829, allocations: 23.98 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.383, allocations: 31.97 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3832, allocations: 60.81 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3832, allocations: 4 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003479/0.3836, allocations: 97.59 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3836, allocations: 4 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3836, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3836, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3838, allocations: 19.97 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3838, allocations: 3.938 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.3839, allocations: 8 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3839, allocations: 3.984 kB / 1.062 GB, free: 1.676 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: 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.0001077/0.384, allocations: 123.3 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3841, allocations: 3.906 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.3841, allocations: 8.234 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3841, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3841, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3841, allocations: 3.984 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.3844, allocations: 185.5 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3844, allocations: 0 / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.3845, allocations: 15.98 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3845, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3845, allocations: 4 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3845, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3845, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.3848, allocations: 199.3 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3849, allocations: 85.02 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3849, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.385, allocations: 15.98 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.3851, allocations: 11.98 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3851, allocations: 3.984 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.3852, allocations: 91.28 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3852, allocations: 0 / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002226/0.3854, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 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.0002406/0.3857, allocations: 103.2 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.386, allocations: 75.88 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.386, allocations: 0 / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3861, allocations: 35.97 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3865, allocations: 2.391 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.387, allocations: 144.7 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3874, allocations: 0.677 MB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.3875, allocations: 7.984 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.3875, allocations: 11.44 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3875, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.003557/0.3911, allocations: 0.7669 MB / 1.065 GB, free: 14.96 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