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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005996/0.005996, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001241/0.001241, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.394/1.394, 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 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002002/1.01, allocations: 0.7028 MB / 1.208 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/1.011, allocations: 0.839 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/1.011, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/1.011, allocations: 3.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/1.011, allocations: 7.938 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/1.011, allocations: 19.97 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/1.011, allocations: 47.91 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/1.011, allocations: 19.98 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/1.011, allocations: 19.92 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/1.011, allocations: 31.83 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/1.011, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/1.011, allocations: 8 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/1.012, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/1.012, allocations: 23.86 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/1.012, allocations: 47.8 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.012, allocations: 3.938 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/1.012, allocations: 0 / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.96e-06/1.012, allocations: 0 / 1.209 GB, free: 11.78 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.0005448/1.012, allocations: 361.6 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.012, allocations: 12.03 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/1.012, allocations: 30.75 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/1.012, allocations: 12.84 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/1.013, allocations: 160.4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.013, allocations: 12.38 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/1.013, allocations: 4.125 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/1.013, allocations: 69.59 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.013, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.013, allocations: 7.969 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.013, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/1.013, allocations: 47.95 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/1.013, allocations: 296.7 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.014, allocations: 66.47 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.014, allocations: 28.92 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.014, allocations: 7.984 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.014, allocations: 38.5 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/1.014, allocations: 0 / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004255/1.014, allocations: 101.6 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.014, allocations: 51.41 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/1.014, allocations: 113.8 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/1.014, allocations: 25.7 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/1.015, allocations: 96.05 kB / 1.21 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/1.015, allocations: 7.844 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/1.015, allocations: 21.7 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.015, allocations: 318.8 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.015, allocations: 23.97 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/1.015, allocations: 19.98 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/1.015, allocations: 56.81 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.015, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002464/1.015, allocations: 85.55 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.015, allocations: 5.719 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.015, allocations: 0 / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.015, allocations: 4 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/1.016, allocations: 15.92 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.016, allocations: 0 / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/1.016, allocations: 15.98 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/1.016, allocations: 3.938 kB / 1.211 GB, free: 9.469 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.528e-05/1.016, allocations: 109.8 kB / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/1.016, allocations: 7.922 kB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/1.016, allocations: 11.91 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.016, allocations: 0 / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.016, allocations: 0 / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.016, allocations: 0 / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.016, allocations: 177.9 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.016, allocations: 4 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/1.016, allocations: 11.98 kB / 1.211 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.016, allocations: 0 / 1.211 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.016, allocations: 4 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.016, allocations: 3.938 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.016, allocations: 4 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/1.016, allocations: 195.3 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/1.017, allocations: 81.11 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.017, allocations: 0 / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.017, allocations: 7.984 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/1.017, allocations: 11.98 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/1.017, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.583e-05/1.017, allocations: 95.2 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.017, allocations: 0 / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00022/1.017, allocations: 8 kB / 1.212 GB, free: 8.645 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.0005527/1.018, allocations: 0.7162 MB / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002516/1.018, allocations: 51.95 kB / 1.212 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.018, allocations: 4 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.018, allocations: 31.97 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/1.018, allocations: 12.53 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.02, allocations: 1.323 MB / 1.214 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.02, allocations: 0.6923 MB / 1.215 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.458e-05/1.02, allocations: 4 kB / 1.215 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/1.02, allocations: 19.42 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/1.02, allocations: 0 / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/1.038, allocations: 1.868 MB / 1.216 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.798, allocations: 15.61 kB / 1.216 GB, free: 3.918 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > 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) "" Variables in the reference:time,intGreThr.t,intGreThr.u,intGreThr.y Variables in the result:intGreThr.t,intGreThr.u,intGreThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time