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.01132/0.01132, allocations: 101.2 kB / 15.73 MB, free: 6.066 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.001907/0.001907, allocations: 189.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.98/2.98, 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 10.1.1-maint.10.0.x/package.mo): time 5.018/5.018, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003498/0.003498, allocations: 60.27 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879/1.883, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.004413/1.887, allocations: 0.7111 MB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00229/1.89, allocations: 0.8414 MB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/1.89, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/1.89, allocations: 3.938 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/1.89, allocations: 7.922 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/1.89, allocations: 19.98 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/1.89, allocations: 55.83 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/1.891, allocations: 12 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/1.891, allocations: 11.98 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/1.891, allocations: 35.78 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/1.891, allocations: 4 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/1.891, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/1.891, allocations: 11.98 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/1.891, allocations: 23.86 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/1.891, allocations: 47.84 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.891, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.898e-06/1.891, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.618e-05/1.891, allocations: 0 / 1.168 GB, free: 1.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008694/1.892, allocations: 363 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.892, allocations: 8.625 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/1.892, allocations: 34.75 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/1.892, allocations: 0.9375 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/1.893, allocations: 172.3 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/1.893, allocations: 8.359 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/1.893, allocations: 8.125 kB / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/1.893, allocations: 69.59 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.893, allocations: 3.938 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.893, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.893, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/1.893, allocations: 55.95 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/1.894, allocations: 300.6 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/1.894, allocations: 66.48 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/1.895, allocations: 32.91 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.895, allocations: 0 / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.895, allocations: 38.56 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.983e-06/1.895, allocations: 0 / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0005989/1.895, allocations: 105.8 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/1.895, allocations: 55.41 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.895, allocations: 105.8 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/1.896, allocations: 25.7 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.896, allocations: 96.09 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/1.896, allocations: 7.938 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/1.896, allocations: 17.72 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.896, allocations: 318.8 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.896, allocations: 23.98 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/1.896, allocations: 31.95 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/1.897, allocations: 52.81 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.897, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004086/1.897, allocations: 89.55 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.897, allocations: 6.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.897, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.897, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/1.897, allocations: 11.98 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.897, allocations: 4.297 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/1.897, allocations: 12 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/1.898, allocations: 7.922 kB / 1.17 GB, free: 15.66 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: 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.0001891/1.898, allocations: 113.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/1.898, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/1.898, allocations: 3.906 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.898, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.898, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/1.898, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/1.898, allocations: 177.6 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.898, allocations: 7.938 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.898, allocations: 11.98 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.898, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.898, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.898, allocations: 3.984 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.898, allocations: 7.875 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/1.899, allocations: 187.4 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/1.899, allocations: 81.05 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/1.899, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/1.899, allocations: 7.984 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/1.899, allocations: 11.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.899, allocations: 4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.74e-05/1.899, allocations: 95.2 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.899, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004777/1.9, allocations: 7.953 kB / 1.171 GB, free: 14.84 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 (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.00108/1.901, allocations: 0.7202 MB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004519/1.902, allocations: 56.16 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.902, allocations: 4 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/1.902, allocations: 35.91 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/1.902, allocations: 8 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/1.905, allocations: 1.315 MB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/1.906, allocations: 0.6846 MB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.195e-05/1.906, allocations: 4 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/1.906, allocations: 19.42 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of SimCode: time 3.326e-06/1.906, allocations: 0 / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08226/1.988, allocations: 1.853 MB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/19.97, allocations: 6.391 kB / 1.175 GB, free: 10.12 MB / 0.9044 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