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.001334/0.001334, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.439/2.439, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 67.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5578, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001743/0.5596, allocations: 0.7041 MB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.5604, allocations: 0.8507 MB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.5604, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.5604, allocations: 3.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.5605, allocations: 3.938 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.5606, allocations: 19.97 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.5607, allocations: 47.86 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.5608, allocations: 19.97 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.5609, allocations: 15.98 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.561, allocations: 27.86 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.561, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.561, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.561, allocations: 11.97 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.5611, allocations: 23.86 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.455e-05/0.5611, allocations: 39.88 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5611, allocations: 4 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5611, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.5612, allocations: 3.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 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.000423/0.5616, allocations: 366.9 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5616, allocations: 12.03 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.5617, allocations: 38.73 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.5617, allocations: 4.938 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.5618, allocations: 168.3 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5618, allocations: 8.375 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.5618, allocations: 384 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.562, allocations: 73.59 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.562, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.5621, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5621, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.5623, allocations: 55.88 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.5626, allocations: 284.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.5628, allocations: 66.53 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.5629, allocations: 32.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.563, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.563, allocations: 38.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.563, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003813/0.5634, allocations: 109.5 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.5634, allocations: 55.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.5635, allocations: 105.8 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.5635, allocations: 25.7 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.5636, allocations: 92.12 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.5636, allocations: 15.81 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.5636, allocations: 21.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.5637, allocations: 318.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.717e-05/0.5638, allocations: 23.98 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.5639, allocations: 31.91 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5641, allocations: 48.81 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5641, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002222/0.5643, allocations: 85.64 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5643, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5644, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5644, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.5645, allocations: 7.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5645, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.5646, allocations: 11.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.5646, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 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 6.922e-05/0.5647, allocations: 121.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.5647, allocations: 3.906 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.5647, allocations: 7.906 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5647, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5647, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5647, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.5649, allocations: 173.6 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5649, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.565, allocations: 11.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.565, allocations: 8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.565, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.565, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.565, allocations: 3.938 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.5653, allocations: 183.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.5654, allocations: 85 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5654, allocations: 8.047 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.5655, allocations: 7.984 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.5655, allocations: 11.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.5656, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.5656, allocations: 87.27 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5656, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002152/0.5658, allocations: 7.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 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.000493/0.5663, allocations: 0.7125 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.5666, allocations: 59.88 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5666, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5667, allocations: 35.97 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.567, allocations: 8.562 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5683, allocations: 1.311 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.5685, allocations: 0.6884 MB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.5686, allocations: 4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.5686, allocations: 23.42 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 1.373e-06/0.5686, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.5854, allocations: 1.822 MB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.444, allocations: 12.02 kB / 1.026 GB, free: 8.879 MB / 0.7794 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