Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GreaterEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_10_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.01305/0.01305, allocations: 98.3 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.002251/0.002251, allocations: 193 kB / 16.67 MB, free: 5.949 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.991/2.991, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 5.467/5.467, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 67.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7085/0.7113, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.008227/0.7196, allocations: 0.712 MB / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006139/0.7258, allocations: 0.8393 MB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.7259, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.7261, allocations: 11.88 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.7262, allocations: 11.92 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.7265, allocations: 19.97 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.7266, allocations: 39.92 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.7268, allocations: 15.98 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.727, allocations: 27.84 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.7271, allocations: 23.91 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.7271, allocations: 12 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.7272, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.7272, allocations: 7.938 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.7273, allocations: 19.92 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.7275, allocations: 48.02 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.7275, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7275, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.7276, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 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.001096/0.7287, allocations: 359.3 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.689e-05/0.7288, allocations: 12.03 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.222e-05/0.7288, allocations: 38.73 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.7289, allocations: 0.9375 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.7291, allocations: 176.3 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.7292, allocations: 384 / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.7292, allocations: 12.06 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.7295, allocations: 65.66 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7295, allocations: 0 / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7296, allocations: 0 / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7296, allocations: 0 / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.7299, allocations: 63.92 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.7307, allocations: 284.8 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.731, allocations: 70.45 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.7312, allocations: 32.92 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.7312, allocations: 0 / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.7313, allocations: 30.56 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.7313, allocations: 0 / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0007016/0.732, allocations: 113.5 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.7321, allocations: 51.41 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.7322, allocations: 113.8 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.7323, allocations: 25.7 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.7324, allocations: 88.09 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.7324, allocations: 7.953 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.7325, allocations: 21.7 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.7327, allocations: 322.7 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.7329, allocations: 27.91 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.7331, allocations: 23.98 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.7334, allocations: 52.81 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7334, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003818/0.7338, allocations: 93.53 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7338, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.7339, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7339, allocations: 4 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.7341, allocations: 11.98 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7341, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.7342, allocations: 7.984 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.7342, allocations: 7.938 kB / 1.17 GB, free: 3.215 MB / 0.92 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 0.0001491/0.7344, allocations: 113.8 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.7345, allocations: 4 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.7345, allocations: 3.906 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7345, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.7345, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.7346, allocations: 3.984 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.7349, allocations: 181.7 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7349, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.735, allocations: 15.98 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7351, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.7351, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.7351, allocations: 3.984 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7351, allocations: 7.938 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.7356, allocations: 187.7 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.7357, allocations: 77.11 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.7357, allocations: 48 / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.7359, allocations: 11.97 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.736, allocations: 8 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.736, allocations: 7.984 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001066/0.7368, allocations: 91.22 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7368, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005956/0.7374, allocations: 11.95 kB / 1.171 GB, free: 2.395 MB / 0.92 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.00103/0.7385, allocations: 0.7163 MB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.7389, allocations: 59.89 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.7389, allocations: 0 / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.7391, allocations: 39.91 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.7397, allocations: 3.938 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.7424, allocations: 1.323 MB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.7429, allocations: 0.6807 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.144e-05/0.743, allocations: 0 / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.7431, allocations: 19.42 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of SimCode: time 8.81e-07/0.7431, allocations: 0 / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09297/0.8361, allocations: 1.855 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/18.5, allocations: 14.53 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches