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.006422/0.006422, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001459/0.001459, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.508/2.508, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2784, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001909/0.2803, allocations: 0.6975 MB / 1.167 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.2813, allocations: 0.8471 MB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.2814, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.2814, allocations: 7.922 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.2815, allocations: 3.938 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.2816, allocations: 15.98 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.2817, allocations: 47.89 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2818, allocations: 15.98 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.2819, allocations: 19.94 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.282, allocations: 23.91 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.282, allocations: 4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.282, allocations: 4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.2821, allocations: 19.91 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.2821, allocations: 15.88 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.2822, allocations: 59.94 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2822, allocations: 4 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2822, allocations: 4 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2822, allocations: 0 / 1.168 GB, free: 5.488 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.0005323/0.2828, allocations: 351.3 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2828, allocations: 12.03 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.2829, allocations: 34.75 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.2829, allocations: 4.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.283, allocations: 172.3 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.283, allocations: 4.375 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2831, allocations: 12.12 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.2833, allocations: 73.59 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2833, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2833, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2833, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.2835, allocations: 47.95 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.2839, allocations: 292.8 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2842, allocations: 66.48 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2843, allocations: 28.91 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2843, allocations: 4.062 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2843, allocations: 38.56 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2843, allocations: 4 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004193/0.2848, allocations: 101.6 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2848, allocations: 51.41 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.2849, allocations: 113.8 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2849, allocations: 25.7 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.285, allocations: 88.09 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.285, allocations: 11.94 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.285, allocations: 21.66 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2852, allocations: 318.8 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2853, allocations: 23.97 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.2854, allocations: 27.97 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.2856, allocations: 52.81 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2856, allocations: 4 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002428/0.2858, allocations: 81.61 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.2859, allocations: 4 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2859, allocations: 4.266 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2859, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.286, allocations: 11.98 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.286, allocations: 4.312 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.2861, allocations: 7.984 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2861, allocations: 11.88 kB / 1.17 GB, free: 3.188 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 8.19e-05/0.2862, allocations: 125.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.2863, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.2863, allocations: 7.906 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2863, allocations: 4 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2863, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2863, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2865, allocations: 173.6 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2865, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.2866, allocations: 15.98 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2866, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2866, allocations: 4 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2866, allocations: 3.984 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2866, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.287, allocations: 187.3 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.287, allocations: 81.11 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.287, allocations: 8 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2872, allocations: 11.98 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2872, allocations: 11.98 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2872, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.2873, allocations: 87.2 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2873, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002314/0.2875, allocations: 15.95 kB / 1.171 GB, free: 2.363 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.0006002/0.2881, allocations: 0.7202 MB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.2884, allocations: 51.95 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2884, allocations: 0 / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2885, allocations: 35.97 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.2888, allocations: 9.703 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2903, allocations: 1.32 MB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2906, allocations: 0.6846 MB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.2906, allocations: 8 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.2907, allocations: 19.44 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.2907, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.3075, allocations: 1.856 MB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.787, allocations: 11.88 kB / 1.175 GB, free: 13.66 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