Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_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.001457/0.001457, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.422/2.422, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5829, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001721/0.5847, allocations: 0.7011 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.5854, allocations: 0.8391 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.5855, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.5855, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.5856, allocations: 7.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.5857, allocations: 27.91 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.5858, allocations: 47.84 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.5859, allocations: 11.98 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.5859, allocations: 16 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.586, allocations: 27.84 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.586, allocations: 7.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.586, allocations: 8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.5861, allocations: 11.97 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.5861, allocations: 19.88 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.079e-05/0.5862, allocations: 51.84 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5862, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5862, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.5862, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 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.0004406/0.5866, allocations: 357.5 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.5867, allocations: 8.031 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.5867, allocations: 38.75 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.5867, allocations: 4.938 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.5868, allocations: 176.2 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5869, allocations: 384 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.5869, allocations: 4.375 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.5871, allocations: 65.59 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5871, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5871, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.5871, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.5873, allocations: 51.94 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.5877, allocations: 296.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.5879, allocations: 58.55 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.5881, allocations: 36.91 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.5881, allocations: 4.062 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.5881, allocations: 30.56 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.5881, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004006/0.5885, allocations: 117.4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.5886, allocations: 55.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.5887, allocations: 113.8 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.5887, allocations: 25.7 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.5887, allocations: 88.12 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.5887, allocations: 19.75 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5888, allocations: 13.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.5889, allocations: 322.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.589, allocations: 23.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.5891, allocations: 23.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.5893, allocations: 52.81 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5893, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002303/0.5895, allocations: 85.58 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5895, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5895, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5896, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.5897, allocations: 15.92 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5897, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.5898, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.5898, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 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 6.554e-05/0.5898, allocations: 113.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.5899, allocations: 7.906 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.5899, allocations: 11.91 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.5899, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5899, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5899, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.5901, allocations: 177.6 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5901, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.5902, allocations: 15.92 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5902, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5902, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5902, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5902, allocations: 7.984 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.5905, allocations: 187.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.5905, allocations: 85 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5906, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5907, allocations: 7.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.5907, allocations: 8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5907, allocations: 15.98 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.5908, allocations: 83.28 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5908, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002198/0.591, allocations: 11.94 kB / 1.022 GB, free: 13.56 MB / 0.7794 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.0005395/0.5916, allocations: 0.7202 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.5918, allocations: 51.95 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5918, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.5919, allocations: 39.91 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.5922, allocations: 6.875 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.5936, allocations: 1.323 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.5938, allocations: 0.6845 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.5939, allocations: 8 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.5939, allocations: 19.42 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5939, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.6104, allocations: 1.812 MB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/7.503, allocations: 12.31 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches