Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.008097/0.008097, allocations: 94.8 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.001891/0.001891, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.631/2.631, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 64.09 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.312, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002086/0.3141, allocations: 0.7014 MB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3153, allocations: 0.8549 MB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.3153, allocations: 0 / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.3154, allocations: 7.922 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.347e-05/0.3155, allocations: 3.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.3156, allocations: 15.98 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.3157, allocations: 47.89 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3159, allocations: 8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.3159, allocations: 23.92 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.316, allocations: 31.89 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.316, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.316, allocations: 4 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.3161, allocations: 15.92 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.3161, allocations: 11.94 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3162, allocations: 60 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3162, allocations: 0 / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3162, allocations: 3.938 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3163, allocations: 0 / 1.168 GB, free: 5.469 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.0005159/0.3168, allocations: 359.3 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3168, allocations: 8.031 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3169, allocations: 38.75 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.3169, allocations: 0.9375 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.317, allocations: 176.3 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3171, allocations: 384 / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3171, allocations: 8.125 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3173, allocations: 65.66 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3173, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3173, allocations: 8 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3173, allocations: 0 / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.3175, allocations: 47.89 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.3179, allocations: 296.8 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3182, allocations: 70.56 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3183, allocations: 28.88 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3183, allocations: 3.938 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3183, allocations: 34.56 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.3183, allocations: 0 / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004167/0.3187, allocations: 101.6 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3188, allocations: 55.41 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.3189, allocations: 113.8 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3189, allocations: 25.7 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.319, allocations: 92.02 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.319, allocations: 11.95 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.319, allocations: 13.72 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3192, allocations: 326.7 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3193, allocations: 23.98 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.3194, allocations: 27.91 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.3195, allocations: 56.81 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3196, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002415/0.3198, allocations: 81.61 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3198, allocations: 8 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3198, allocations: 3.984 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3199, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.32, allocations: 15.98 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.32, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.3201, allocations: 8 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3201, allocations: 11.86 kB / 1.17 GB, free: 3.156 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,intLesThr.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 7.207e-05/0.3202, allocations: 113.8 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3202, allocations: 4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.3202, allocations: 11.91 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3202, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3202, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3203, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3204, allocations: 173.6 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3204, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.3205, allocations: 11.98 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3205, allocations: 0 / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3205, allocations: 4 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3206, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3206, allocations: 4 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3208, allocations: 191.6 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3209, allocations: 77.11 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3209, allocations: 3.984 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.321, allocations: 12 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3211, allocations: 11.98 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.3211, allocations: 4 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.3211, allocations: 87.2 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3211, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002282/0.3214, allocations: 15.95 kB / 1.171 GB, free: 2.34 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 (intLesThr.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.0005771/0.322, allocations: 0.7086 MB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.3222, allocations: 67.81 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3222, allocations: 3.938 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3224, allocations: 31.97 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3227, allocations: 2.031 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3241, allocations: 1.323 MB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3244, allocations: 0.6807 MB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.3244, allocations: 4 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.3245, allocations: 27.53 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3245, allocations: 0 / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.3407, allocations: 1.84 MB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.015, allocations: 14.3 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_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_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches