Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_11_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.007998/0.007998, allocations: 96.44 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.002054/0.002054, allocations: 195.9 kB / 16.68 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001797/0.3186, allocations: 0.7216 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.3196, allocations: 0.8273 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.3197, allocations: 4 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3197, allocations: 3.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.3198, allocations: 3.938 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.3199, allocations: 23.92 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.32, allocations: 51.83 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.3201, allocations: 15.98 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.3202, allocations: 19.98 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.3203, allocations: 27.84 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3203, allocations: 4 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.3203, allocations: 7.938 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3204, allocations: 11.98 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3204, allocations: 15.88 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3205, allocations: 47.84 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3205, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3205, allocations: 8 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3206, allocations: 0 / 1.222 GB, free: 12.53 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.0005397/0.3211, allocations: 355.3 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3211, allocations: 12.03 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.3212, allocations: 34.75 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3212, allocations: 8.891 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3214, allocations: 168.3 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3214, allocations: 4.375 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3214, allocations: 4.125 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3217, allocations: 73.66 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3217, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3217, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.3217, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3219, allocations: 55.88 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3224, allocations: 300.7 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.3226, allocations: 62.55 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3227, allocations: 28.91 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3227, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3228, allocations: 38.56 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3228, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004373/0.3232, allocations: 105.6 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3233, allocations: 55.41 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3234, allocations: 113.8 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3234, allocations: 25.7 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.3235, allocations: 88.09 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.3235, allocations: 11.94 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.3235, allocations: 17.72 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3237, allocations: 322.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3238, allocations: 19.98 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3239, allocations: 27.97 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.3241, allocations: 48.81 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3241, allocations: 3.938 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002555/0.3244, allocations: 89.61 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3244, allocations: 4 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3244, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3244, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3246, allocations: 19.91 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3246, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3247, allocations: 8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3247, allocations: 3.938 kB / 1.224 GB, free: 10.23 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.804e-05/0.3248, allocations: 121.8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3248, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.3248, allocations: 7.906 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3249, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3249, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3249, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.3251, allocations: 181.5 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3251, allocations: 0 / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.3252, allocations: 15.92 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3252, allocations: 4 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3252, allocations: 8 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3252, allocations: 0 / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3252, allocations: 336 / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.3256, allocations: 183.4 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3256, allocations: 81.06 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3256, allocations: 4 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3258, allocations: 15.98 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.3258, allocations: 11.98 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3258, allocations: 0 / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.3259, allocations: 87.2 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3259, allocations: 0 / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002336/0.3261, allocations: 15.94 kB / 1.225 GB, free: 9.402 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.0006522/0.3268, allocations: 0.7168 MB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3271, allocations: 59.94 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3271, allocations: 0 / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3272, allocations: 35.92 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3275, allocations: 5.109 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3292, allocations: 1.323 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3295, allocations: 0.6807 MB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.3296, allocations: 8 kB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.3296, allocations: 23.42 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3297, allocations: 3.938 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.3521, allocations: 1.859 MB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.591, allocations: 12.61 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches