Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.008046/0.008046, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001969/0.001969, allocations: 195.1 kB / 16.68 MB, free: 5.926 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.532/1.532, 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.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.002271, allocations: 67.89 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9341/0.9364, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002797/0.9392, allocations: 0.7068 MB / 1.208 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.9407, allocations: 0.839 MB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.9408, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.9409, allocations: 7.938 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.941, allocations: 3.938 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.9412, allocations: 19.97 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.9413, allocations: 43.84 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.9415, allocations: 23.98 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.9416, allocations: 23.92 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.9417, allocations: 23.86 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.9417, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.9417, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.9418, allocations: 15.97 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.9418, allocations: 19.86 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.9419, allocations: 43.81 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9419, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.942, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.942, allocations: 4 kB / 1.209 GB, free: 11.77 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.0005562/0.9425, allocations: 357.6 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.9426, allocations: 8.031 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.9426, allocations: 42.73 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.9427, allocations: 4.844 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.9428, allocations: 164.4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.9429, allocations: 4.312 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.9429, allocations: 12.12 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.9431, allocations: 69.66 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9431, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.9431, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9431, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.9434, allocations: 51.94 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.9438, allocations: 288.7 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.944, allocations: 70.5 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.9441, allocations: 32.88 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.9442, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.9442, allocations: 34.56 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.9442, allocations: 0 / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003971/0.9446, allocations: 109.6 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.9447, allocations: 55.39 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.9447, allocations: 113.9 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.9448, allocations: 25.7 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.9448, allocations: 88.03 kB / 1.21 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.9449, allocations: 15.84 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.9449, allocations: 13.72 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.945, allocations: 326.8 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.9451, allocations: 19.98 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.9452, allocations: 23.97 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.9455, allocations: 56.81 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9455, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002584/0.9457, allocations: 93.48 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9458, allocations: 6.188 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9458, allocations: 0 / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9458, allocations: 0 / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.9459, allocations: 11.98 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9459, allocations: 0 / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.946, allocations: 7.984 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.946, allocations: 7.938 kB / 1.211 GB, free: 9.465 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,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 0.000129/0.9462, allocations: 117.8 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.9462, allocations: 4 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.9462, allocations: 7.906 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9463, allocations: 0 / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9463, allocations: 0 / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9463, allocations: 0 / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.9465, allocations: 177.6 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.9465, allocations: 7.938 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.9466, allocations: 11.98 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9466, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.9467, allocations: 4 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.9467, allocations: 7.938 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9467, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.947, allocations: 183.7 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.9471, allocations: 81.09 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.9471, allocations: 4 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.9472, allocations: 8 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.9473, allocations: 16.02 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.9473, allocations: 4 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.9474, allocations: 91.5 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9474, allocations: 0 / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000228/0.9476, allocations: 12 kB / 1.212 GB, free: 8.637 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 (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.0007089/0.9483, allocations: 0.7184 MB / 1.212 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.9486, allocations: 59.94 kB / 1.212 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9486, allocations: 0 / 1.212 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.9488, allocations: 31.91 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.9491, allocations: 8 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.9508, allocations: 1.327 MB / 1.214 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.9511, allocations: 0.6807 MB / 1.214 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.945e-05/0.9512, allocations: 8 kB / 1.214 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.9512, allocations: 23.42 kB / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/0.9512, allocations: 0 / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.9697, allocations: 1.882 MB / 1.216 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/8.356, allocations: 11.94 kB / 1.216 GB, free: 3.902 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intGreEquThr.t,intGreEquThr.u,intGreEquThr.y Variables in the result:intGreEquThr.t,intGreEquThr.u,intGreEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time