Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.005281/0.005281, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001269/0.001269, allocations: 201.3 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.89 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.663, allocations: 151.6 MB / 1.166 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001742/0.6648, allocations: 0.8216 MB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008762/0.6657, allocations: 0.8726 MB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.6657, allocations: 3.938 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.6659, allocations: 11.88 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.6659, allocations: 19.84 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.6661, allocations: 23.98 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.6662, allocations: 83.7 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.6663, allocations: 27.98 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.737e-05/0.6664, allocations: 35.84 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.6665, allocations: 23.86 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.6665, allocations: 8 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.6665, allocations: 4 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.6665, allocations: 23.8 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.6666, allocations: 27.81 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.6667, allocations: 78.41 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6667, allocations: 0 / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6667, allocations: 0 / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6667, allocations: 4 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004792/0.6672, allocations: 392 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6672, allocations: 12.92 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.6673, allocations: 38.75 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.6673, allocations: 8.891 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.6675, allocations: 204.2 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.6676, allocations: 12.31 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.6676, allocations: 4.375 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.6677, allocations: 62.23 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6677, allocations: 7.875 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.6677, allocations: 4 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.6677, allocations: 0 / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.6679, allocations: 35.97 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.6683, allocations: 312.7 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.6684, allocations: 54.58 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.6685, allocations: 16.92 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.6685, allocations: 0 / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.6686, allocations: 34.56 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.6686, allocations: 0 / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002308/0.6688, allocations: 73.7 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.6688, allocations: 55.41 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.6689, allocations: 133 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.669, allocations: 25.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.669, allocations: 100.1 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.669, allocations: 11.94 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.6691, allocations: 25.66 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.6692, allocations: 318.8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.6692, allocations: 12 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.6693, allocations: 19.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.6694, allocations: 33.11 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6694, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.6695, allocations: 69.56 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6695, allocations: 12 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.6696, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.6696, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.6696, allocations: 7.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.6696, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.6697, allocations: 11.92 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6697, allocations: 7.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.635e-05/0.6698, allocations: 117.8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.6699, allocations: 7.953 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.6699, allocations: 12.25 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.6699, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6699, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6699, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.6701, allocations: 185.5 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6701, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.6701, allocations: 3.984 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6701, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.6702, allocations: 8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6702, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6702, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.6703, allocations: 163.4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.6704, allocations: 81.06 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.6704, allocations: 8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6705, allocations: 7.984 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.6706, allocations: 7.984 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.6706, allocations: 4 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.6706, allocations: 111.2 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6706, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002237/0.6709, allocations: 8 kB / 1.171 GB, free: 14.51 MB / 0.9044 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004124/0.6713, allocations: 0.6929 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.6714, allocations: 35.92 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.6714, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.6715, allocations: 19.98 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6717, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.673, allocations: 1.397 MB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.6732, allocations: 0.6962 MB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.6732, allocations: 7.984 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.6733, allocations: 23.42 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.6733, allocations: 0 / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.6912, allocations: 1.974 MB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/8.144, allocations: 29.44 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches