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.001178/0.001183, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001246/0.001246, allocations: 187 kB / 17.34 MB, free: 5.742 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.426/2.426, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6881, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001824/0.69, allocations: 0.7087 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008954/0.6909, allocations: 0.839 MB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.691, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.691, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.6911, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.6912, allocations: 27.91 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.6913, allocations: 43.91 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.6915, allocations: 19.98 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.6915, allocations: 15.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.6916, allocations: 27.91 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.6916, allocations: 7.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.6917, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.6917, allocations: 15.98 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.6917, allocations: 15.86 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.266e-05/0.6918, allocations: 51.86 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6918, allocations: 0 / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6918, allocations: 0 / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6918, allocations: 0 / 1.21 GB, free: 11.83 MB / 0.9356 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.0005181/0.6924, allocations: 355.2 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6924, allocations: 8.031 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.6925, allocations: 12.84 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.6926, allocations: 176.4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6926, allocations: 384 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6927, allocations: 384 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.6929, allocations: 73.58 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6929, allocations: 0 / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.6929, allocations: 0 / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6929, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.6931, allocations: 55.88 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.6935, allocations: 294.6 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.6937, allocations: 62.53 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.6938, allocations: 28.92 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.6939, allocations: 3.938 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.6939, allocations: 42.48 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.6939, allocations: 0 / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003981/0.6943, allocations: 109.6 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.6943, allocations: 51.41 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.6944, allocations: 105.8 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.6945, allocations: 29.7 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.6945, allocations: 92.05 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6945, allocations: 11.91 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6946, allocations: 21.7 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.6947, allocations: 322.8 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6948, allocations: 23.97 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.6949, allocations: 19.98 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.6951, allocations: 56.75 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6951, allocations: 4 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002311/0.6953, allocations: 85.55 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6953, allocations: 8 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6953, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.6954, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6955, allocations: 11.98 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.6955, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.6956, allocations: 11.98 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.6956, allocations: 4 kB / 1.212 GB, free: 9.566 MB / 0.9356 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.233e-05/0.6957, allocations: 118 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.6957, allocations: 4 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.6957, allocations: 11.89 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6957, allocations: 3.984 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6957, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6957, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.6959, allocations: 181.6 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6959, allocations: 3.984 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.696, allocations: 11.98 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.696, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.696, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.696, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.696, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.6963, allocations: 195.3 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.6964, allocations: 77.11 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.6964, allocations: 0 / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.6965, allocations: 7.984 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.6966, allocations: 15.92 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.6966, allocations: 4 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.6966, allocations: 91.2 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6966, allocations: 0 / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000224/0.6968, allocations: 11.94 kB / 1.213 GB, free: 8.738 MB / 0.9356 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 9.99e-05/0.697, allocations: 103.2 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.6972, allocations: 51.95 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6972, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.6973, allocations: 31.91 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.6976, allocations: 8 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.6979, allocations: 178 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.6981, allocations: 0.6768 MB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.6982, allocations: 15.42 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.6982, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of Templates: time 0.001993/0.7002, allocations: 0.8115 MB / 1.215 GB, free: 6.812 MB / 0.9356 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/jenkins1/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