Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01053/0.01053, allocations: 105.7 kB / 15.74 MB, free: 6.012 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.002493/0.002493, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.91 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9944, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00194/0.9963, allocations: 0.696 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.9973, allocations: 0.8388 MB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.9974, allocations: 1 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.9974, allocations: 4.547 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.9975, allocations: 4.5 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.9977, allocations: 23.27 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.9978, allocations: 53.06 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.9979, allocations: 16.91 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.998, allocations: 17.58 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.9981, allocations: 29.66 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.9981, allocations: 4.031 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.9981, allocations: 4.406 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.9982, allocations: 11.58 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.9982, allocations: 19.06 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.9983, allocations: 50.58 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9983, allocations: 3.938 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9983, allocations: 0.9688 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.9983, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 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.0005114/0.9989, allocations: 355 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9989, allocations: 9.859 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.999, allocations: 8.062 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.9991, allocations: 164.2 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.9991, allocations: 2.469 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.9991, allocations: 10.47 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.9994, allocations: 68.44 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.9994, allocations: 0.5625 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.9994, allocations: 1.062 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9994, allocations: 1.062 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.9997, allocations: 52.03 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/1, allocations: 299.2 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/1, allocations: 61.05 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.001, allocations: 33.17 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/1.001, allocations: 1.125 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.001, allocations: 36.2 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/1.001, allocations: 7.984 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004727/1.001, allocations: 101.4 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.001, allocations: 52.75 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/1.001, allocations: 110.4 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.001, allocations: 26.3 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/1.001, allocations: 92.09 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.001, allocations: 13.83 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/1.001, allocations: 20.42 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/1.001, allocations: 317 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/1.002, allocations: 22.64 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/1.002, allocations: 31.12 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/1.002, allocations: 53.89 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.002, allocations: 7.938 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002396/1.002, allocations: 80.19 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.002, allocations: 10.08 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.002, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.002, allocations: 1.281 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.002, allocations: 10.95 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.002, allocations: 0.5625 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/1.002, allocations: 12.7 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/1.002, allocations: 9.891 kB / 1.092 GB, free: 2.5 MB / 0.8575 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.852e-05/1.002, allocations: 116.8 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/1.003, allocations: 2.438 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/1.003, allocations: 10.36 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.003, allocations: 0 / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.003, allocations: 1.281 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.003, allocations: 0.7969 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/1.003, allocations: 173.8 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.003, allocations: 0 / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/1.003, allocations: 16.73 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.003, allocations: 0 / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/1.003, allocations: 1.688 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.003, allocations: 2.016 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.003, allocations: 0 / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/1.003, allocations: 187.1 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/1.003, allocations: 82.75 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.003, allocations: 5.641 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.003, allocations: 8.859 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/1.003, allocations: 10.89 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/1.003, allocations: 2.344 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.528e-05/1.003, allocations: 91.53 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.003, allocations: 0 / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002225/1.004, allocations: 11.86 kB / 1.092 GB, free: 1.82 MB / 0.8575 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.00013/1.004, allocations: 102.1 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002871/1.004, allocations: 60.06 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.004, allocations: 0 / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.004, allocations: 33.75 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.005, allocations: 3.656 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/1.005, allocations: 148.9 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/1.005, allocations: 0.6811 MB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.237e-05/1.005, allocations: 3.766 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/1.005, allocations: 13 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/1.005, allocations: 0 / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of Templates: time 0.003839/1.009, allocations: 0.8889 MB / 1.094 GB, free: 0.7812 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches