Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0009721/0.0009718, allocations: 97.72 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.00619/0.00619, allocations: 169.3 kB / 16.26 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003897, allocations: 12 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8695/0.8699, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0009589/0.8709, allocations: 441 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00098/0.8719, allocations: 0.8312 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.872, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.872, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.8721, allocations: 11.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.8722, allocations: 19.98 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.8723, allocations: 43.86 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.8724, allocations: 11.98 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.8725, allocations: 15.98 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.8726, allocations: 27.84 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.8726, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.8726, allocations: 8 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.8727, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.8727, allocations: 49.55 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.975e-05/0.8728, allocations: 39.86 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8728, allocations: 3.938 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8728, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.8728, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 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.0005193/0.8734, allocations: 361.4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8734, allocations: 8.031 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.8734, allocations: 8.844 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.8736, allocations: 168.3 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8736, allocations: 8.312 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.8737, allocations: 384 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.8739, allocations: 81.75 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8739, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8739, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8739, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.8742, allocations: 63.95 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.8746, allocations: 288.8 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.8748, allocations: 74.47 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.8749, allocations: 40.91 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.875, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.875, allocations: 30.56 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.875, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004406/0.8754, allocations: 133.5 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.8755, allocations: 51.41 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.8756, allocations: 105.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8756, allocations: 29.64 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.8756, allocations: 88.14 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.8757, allocations: 11.83 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.8757, allocations: 13.72 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8758, allocations: 322.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.8759, allocations: 27.97 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.8761, allocations: 31.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.8763, allocations: 60.81 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8763, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002566/0.8765, allocations: 105.5 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8766, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.8766, allocations: 320 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.8766, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.8767, allocations: 15.98 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8767, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.8768, allocations: 15.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.8768, allocations: 3.984 kB / 1.027 GB, free: 12.02 MB / 0.7794 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.94e-05/0.8769, allocations: 119.6 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.8769, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.877, allocations: 19.83 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.877, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.877, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.877, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.8772, allocations: 177.6 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8772, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.8773, allocations: 15.98 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8773, allocations: 3.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.8773, allocations: 8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8773, allocations: 7.938 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8773, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.8776, allocations: 191.8 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.8777, allocations: 81.11 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.8777, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.8778, allocations: 15.92 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.8779, allocations: 16.02 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8779, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.8779, allocations: 87.27 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.878, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002183/0.8782, allocations: 11.91 kB / 1.027 GB, free: 11.17 MB / 0.7794 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.0001168/0.8783, allocations: 103.2 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.8786, allocations: 67.89 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8786, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.8787, allocations: 39.97 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.879, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.8793, allocations: 144.7 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.8796, allocations: 0.6809 MB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.123e-05/0.8796, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.8797, allocations: 19.42 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of SimCode: time 2.895e-06/0.8797, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.002844/0.8825, allocations: 0.7552 MB / 1.029 GB, free: 9.309 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches