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.007804/0.007804, allocations: 101.2 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.001329/0.00133, allocations: 197.4 kB / 16.68 MB, free: 5.965 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.116/3.116, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002289/0.3259, allocations: 0.7033 MB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.327, allocations: 0.8312 MB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3271, allocations: 4 kB / 1.209 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.3272, allocations: 3.938 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.3273, allocations: 7.922 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.3275, allocations: 23.97 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3276, allocations: 47.84 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3277, allocations: 12 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.3278, allocations: 19.98 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.3279, allocations: 31.83 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3279, allocations: 4 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.328, allocations: 4 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.328, allocations: 8 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.328, allocations: 19.86 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3282, allocations: 47.84 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3282, allocations: 0 / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3282, allocations: 0 / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3282, allocations: 11.94 kB / 1.209 GB, free: 8.336 MB / 0.9669 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.0006127/0.3288, allocations: 355.7 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3289, allocations: 8.625 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.3289, allocations: 34.75 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.329, allocations: 8.844 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3291, allocations: 176.2 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3291, allocations: 384 / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3292, allocations: 4.125 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3294, allocations: 73.66 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3294, allocations: 0 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3294, allocations: 0 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3294, allocations: 4 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.3296, allocations: 47.89 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.3301, allocations: 292.8 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3303, allocations: 66.48 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3304, allocations: 32.91 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3305, allocations: 0 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3305, allocations: 34.5 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3305, allocations: 0 / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004553/0.331, allocations: 117.7 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.331, allocations: 51.41 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3311, allocations: 113.8 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3312, allocations: 33.7 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3312, allocations: 84.12 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3313, allocations: 7.906 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.3313, allocations: 17.72 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3315, allocations: 326.8 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3316, allocations: 19.98 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.3317, allocations: 27.91 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.3319, allocations: 48.81 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3319, allocations: 4 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002548/0.3322, allocations: 85.56 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3322, allocations: 8 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3322, allocations: 0 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3322, allocations: 3.984 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3324, allocations: 11.98 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3324, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.3325, allocations: 8 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3325, allocations: 11.92 kB / 1.211 GB, free: 6.027 MB / 0.9669 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 0.0001178/0.3326, allocations: 117.8 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.3327, allocations: 4 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.3327, allocations: 7.906 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3327, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3327, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3327, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.333, allocations: 185.4 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.333, allocations: 0 / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.3331, allocations: 15.92 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3331, allocations: 4 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3331, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3331, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3331, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3334, allocations: 187.4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3335, allocations: 77.11 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3335, allocations: 3.984 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3336, allocations: 12 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.3337, allocations: 11.98 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3337, allocations: 4 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.3338, allocations: 87.2 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3338, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002278/0.334, allocations: 15.91 kB / 1.212 GB, free: 5.207 MB / 0.9669 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.000707/0.3347, allocations: 0.7165 MB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.335, allocations: 63.91 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.335, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3351, allocations: 31.97 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3354, allocations: 8 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.337, allocations: 1.323 MB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3372, allocations: 0.6807 MB / 1.214 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.3373, allocations: 8 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.3374, allocations: 23.42 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3374, allocations: 0 / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.3581, allocations: 1.883 MB / 1.216 GB, free: 484 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.715, allocations: 12.34 kB / 1.216 GB, free: 480 kB / 0.9669 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