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.00937/0.00937, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001436/0.001436, allocations: 191 kB / 16.67 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.212, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00208/1.215, allocations: 0.7105 MB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009526/1.216, allocations: 0.8351 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/1.216, allocations: 7.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/1.216, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.534e-05/1.216, allocations: 7.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/1.216, allocations: 27.89 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/1.216, allocations: 43.91 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/1.216, allocations: 8 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/1.216, allocations: 23.92 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/1.216, allocations: 31.89 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/1.216, allocations: 4 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/1.216, allocations: 11.94 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/1.216, allocations: 4 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/1.216, allocations: 19.86 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/1.217, allocations: 51.84 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.217, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.217, allocations: 0 / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.217, allocations: 0 / 1.209 GB, free: 11.85 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.0005692/1.217, allocations: 351.2 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.217, allocations: 8.031 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/1.217, allocations: 12.84 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.217, allocations: 168.3 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.217, allocations: 4.375 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/1.217, allocations: 384 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/1.218, allocations: 69.59 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/1.218, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.218, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.218, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/1.218, allocations: 59.94 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/1.218, allocations: 298.5 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/1.219, allocations: 62.53 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/1.219, allocations: 24.92 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/1.219, allocations: 8 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.219, allocations: 34.55 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/1.219, allocations: 0 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003999/1.219, allocations: 109.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/1.219, allocations: 59.28 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/1.219, allocations: 105.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/1.219, allocations: 29.7 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/1.219, allocations: 92.05 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/1.219, allocations: 7.844 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/1.219, allocations: 21.7 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.22, allocations: 322.8 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/1.22, allocations: 23.97 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/1.22, allocations: 24.16 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/1.22, allocations: 56.75 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.22, allocations: 0 / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002747/1.22, allocations: 89.55 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.22, allocations: 4 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.22, allocations: 4 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.22, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/1.22, allocations: 15.98 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.22, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/1.22, allocations: 7.984 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/1.221, allocations: 0 / 1.211 GB, free: 9.598 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 8.345e-05/1.221, allocations: 117.8 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/1.221, allocations: 0 / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/1.221, allocations: 11.89 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.221, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.221, allocations: 3.938 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.221, allocations: 4 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/1.221, allocations: 181.6 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.221, allocations: 3.984 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/1.221, allocations: 11.98 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.221, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.221, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.221, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.221, allocations: 320 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/1.221, allocations: 187.3 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/1.221, allocations: 85.05 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/1.221, allocations: 0 / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/1.221, allocations: 7.984 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/1.222, allocations: 11.98 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/1.222, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.399e-05/1.222, allocations: 99.19 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.222, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002226/1.222, allocations: 15.94 kB / 1.212 GB, free: 8.766 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 0.0001389/1.222, allocations: 95.25 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002504/1.222, allocations: 59.89 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.222, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/1.222, allocations: 27.97 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/1.223, allocations: 12 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/1.223, allocations: 149.7 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.223, allocations: 0.6807 MB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.828e-05/1.223, allocations: 4 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/1.223, allocations: 19.42 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/1.223, allocations: 0 / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of Templates: time 0.003057/1.226, allocations: 0.8969 MB / 1.214 GB, free: 6.773 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/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