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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005536/0.005536, allocations: 97.89 kB / 15.73 MB, free: 6.055 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.001351/0.001351, allocations: 195 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 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.7 MB / 0.7453 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.84 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2942, allocations: 159.9 MB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001835/0.2961, allocations: 0.7113 MB / 1.226 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.297, allocations: 0.8234 MB / 1.227 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.2971, allocations: 4 kB / 1.227 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.2971, allocations: 3.938 kB / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.2972, allocations: 7.922 kB / 1.227 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.2974, allocations: 27.92 kB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.2975, allocations: 51.84 kB / 1.227 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.2976, allocations: 11.98 kB / 1.227 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.2976, allocations: 19.92 kB / 1.227 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.2977, allocations: 27.91 kB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2977, allocations: 4 kB / 1.227 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2977, allocations: 4 kB / 1.227 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.2978, allocations: 4 kB / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.2978, allocations: 31.84 kB / 1.227 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.804e-05/0.2979, allocations: 39.86 kB / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2979, allocations: 0 / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2979, allocations: 0 / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2979, allocations: 4 kB / 1.227 GB, free: 7.875 MB / 0.9825 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.0004867/0.2984, allocations: 359.3 kB / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2985, allocations: 12.03 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.2985, allocations: 30.75 kB / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.2986, allocations: 8.828 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2987, allocations: 176.4 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.2987, allocations: 4.375 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.2987, allocations: 4.125 kB / 1.228 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2989, allocations: 81.55 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.299, allocations: 0 / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.299, allocations: 0 / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.299, allocations: 0 / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.2992, allocations: 55.95 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.2996, allocations: 288.7 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.2998, allocations: 62.53 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2999, allocations: 28.92 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3, allocations: 0 / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3, allocations: 42.55 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3, allocations: 7.938 kB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000416/0.3004, allocations: 105.6 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3005, allocations: 55.41 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3006, allocations: 109.8 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3006, allocations: 29.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.3006, allocations: 88.09 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3006, allocations: 7.953 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3007, allocations: 21.7 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.3008, allocations: 318.8 kB / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3009, allocations: 23.97 kB / 1.229 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.301, allocations: 23.98 kB / 1.229 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3012, allocations: 56.75 kB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3012, allocations: 0 / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002487/0.3015, allocations: 89.59 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3015, allocations: 4 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3015, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3015, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3017, allocations: 11.98 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3017, allocations: 4 kB / 1.229 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.3018, allocations: 11.98 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3018, allocations: 3.938 kB / 1.229 GB, free: 5.559 MB / 0.9825 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 8.051e-05/0.3019, allocations: 109.8 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3019, allocations: 4 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.3019, allocations: 11.83 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3019, allocations: 4.266 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3019, allocations: 4 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.302, allocations: 4 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3021, allocations: 185.6 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3021, allocations: 0 / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.3022, allocations: 15.97 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3022, allocations: 0 / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3023, allocations: 4 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3023, allocations: 0 / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3023, allocations: 0 / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3026, allocations: 183.4 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.3026, allocations: 81.06 kB / 1.23 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3026, allocations: 0 / 1.23 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3027, allocations: 7.984 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.3028, allocations: 11.98 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.3028, allocations: 4 kB / 1.23 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.3029, allocations: 91.16 kB / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3029, allocations: 0 / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002295/0.3031, allocations: 19.88 kB / 1.23 GB, free: 4.727 MB / 0.9825 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.0005437/0.3037, allocations: 0.7203 MB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3039, allocations: 59.89 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3039, allocations: 0 / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3041, allocations: 31.97 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3043, allocations: 4 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3059, allocations: 1.331 MB / 1.232 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3061, allocations: 0.6846 MB / 1.232 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.3061, allocations: 7.984 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.3062, allocations: 11.44 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.3062, allocations: 0 / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3238, allocations: 1.855 MB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.703, allocations: 13.58 kB / 1.234 GB, free: 28 kB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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) Reference file matches