Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01076/0.01076, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.002568/0.002567, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.258/2.258, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 63.91 kB / 0.9508 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002262/1.12, allocations: 0.7036 MB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001168/1.121, allocations: 0.8375 MB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/1.121, allocations: 1.062 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/1.121, allocations: 4.688 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/1.121, allocations: 5.703 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/1.121, allocations: 30.22 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/1.122, allocations: 44.64 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/1.122, allocations: 13.12 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/1.122, allocations: 22.02 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/1.122, allocations: 30.12 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/1.122, allocations: 3.781 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.102e-05/1.122, allocations: 4.438 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/1.122, allocations: 11.47 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/1.122, allocations: 17.95 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/1.122, allocations: 55.44 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.122, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.936e-06/1.122, allocations: 1.188 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.325e-06/1.122, allocations: 0 / 1.09 GB, free: 4.293 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.0006098/1.123, allocations: 349.6 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.123, allocations: 9.656 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/1.123, allocations: 7.125 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.123, allocations: 173.6 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/1.123, allocations: 5.531 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.123, allocations: 2.5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/1.124, allocations: 68.3 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.124, allocations: 1.312 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.124, allocations: 0 / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.124, allocations: 5.906 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/1.124, allocations: 51.17 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/1.124, allocations: 302.2 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/1.124, allocations: 61.73 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/1.125, allocations: 28.95 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/1.125, allocations: 0 / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/1.125, allocations: 36.45 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/1.125, allocations: 0 / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004357/1.125, allocations: 109.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/1.125, allocations: 52.47 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/1.125, allocations: 107.6 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/1.125, allocations: 25.7 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/1.125, allocations: 96.28 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.125, allocations: 10.78 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/1.125, allocations: 18.69 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.125, allocations: 321.5 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/1.125, allocations: 22.41 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/1.126, allocations: 23.52 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/1.126, allocations: 57.8 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.126, allocations: 3.938 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002389/1.126, allocations: 87.88 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.126, allocations: 5.312 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.126, allocations: 0.75 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.126, allocations: 1.266 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/1.126, allocations: 11.17 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.126, allocations: 0.6875 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/1.126, allocations: 15.73 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.126, allocations: 2.578 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,intGreEquThr.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 6.385e-05/1.126, allocations: 121.8 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/1.126, allocations: 1.625 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/1.126, allocations: 5.547 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.126, allocations: 0.8438 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.126, allocations: 0.75 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.126, allocations: 0.7969 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/1.127, allocations: 182.2 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.127, allocations: 1.094 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/1.127, allocations: 15.72 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.127, allocations: 1.125 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.127, allocations: 0.7969 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.127, allocations: 1.062 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.127, allocations: 0.6094 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/1.127, allocations: 186.9 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/1.127, allocations: 79.55 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/1.127, allocations: 0.9375 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/1.127, allocations: 7.984 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.127, allocations: 14.88 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.127, allocations: 2.609 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.031e-05/1.127, allocations: 86.89 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.127, allocations: 0 / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002435/1.128, allocations: 10.47 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 (intGreEquThr.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.0001318/1.128, allocations: 107.4 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002928/1.128, allocations: 56.62 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.128, allocations: 0 / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/1.128, allocations: 29.88 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/1.128, allocations: 7.766 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.0003692/1.129, allocations: 147.8 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/1.129, allocations: 0.6814 MB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.839e-05/1.129, allocations: 5.625 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/1.129, allocations: 12.14 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.129, allocations: 4 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of Templates: time 0.004029/1.133, allocations: 0.9175 MB / 1.094 GB, free: 0.7656 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches