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.001254/0.001254, allocations: 108 kB / 15.61 MB, free: 152 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.001272/0.001272, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.451/2.451, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5382, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001818/0.5401, allocations: 0.7089 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.5409, allocations: 0.8351 MB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.541, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.541, allocations: 3.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.5411, allocations: 11.94 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.5412, allocations: 19.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.5413, allocations: 51.83 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.5414, allocations: 12 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.586e-05/0.5414, allocations: 23.92 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.5415, allocations: 19.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.5415, allocations: 8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.5415, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.5416, allocations: 11.98 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.5416, allocations: 19.86 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.58e-05/0.5417, allocations: 55.84 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5417, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5417, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.5417, allocations: 0 / 1.019 GB, free: 0.6797 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.0004692/0.5422, allocations: 357.5 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5422, allocations: 12.03 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.5423, allocations: 34.75 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.5423, allocations: 0.9375 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5424, allocations: 176.2 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5424, allocations: 8.375 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.5425, allocations: 384 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.5427, allocations: 73.59 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5427, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5427, allocations: 3.984 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5427, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.5429, allocations: 47.95 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.5433, allocations: 296.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.5435, allocations: 58.55 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5436, allocations: 28.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5436, allocations: 12.06 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5437, allocations: 34.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5437, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003893/0.5441, allocations: 113.5 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.5441, allocations: 51.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.5442, allocations: 109.8 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5442, allocations: 33.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.5443, allocations: 88.12 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.5443, allocations: 15.75 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.5443, allocations: 13.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5444, allocations: 326.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5445, allocations: 19.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.5446, allocations: 23.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.5448, allocations: 52.81 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5448, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002363/0.5451, allocations: 85.59 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.5451, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5451, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5451, allocations: 7.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.5452, allocations: 11.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5453, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.5453, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5453, allocations: 8.297 kB / 1.021 GB, free: 14.38 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,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.079e-05/0.5454, allocations: 117.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.5455, allocations: 3.906 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.5455, allocations: 11.91 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.5455, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5455, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5455, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5457, allocations: 177.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5457, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.5458, allocations: 15.92 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5458, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5458, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5458, allocations: 3.938 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5458, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.5461, allocations: 187.4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.5461, allocations: 85.02 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.5461, allocations: 3.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5463, allocations: 8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5463, allocations: 7.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.5463, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.5464, allocations: 91.25 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5464, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002167/0.5466, allocations: 19.94 kB / 1.022 GB, free: 13.55 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 (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.0005188/0.5471, allocations: 0.7124 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.5474, allocations: 59.94 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5474, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.5475, allocations: 31.91 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.5477, allocations: 5.375 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.5491, allocations: 1.323 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.5494, allocations: 0.6884 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.5494, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.5495, allocations: 15.44 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5495, allocations: 4 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.5661, allocations: 1.813 MB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.56, allocations: 11.95 kB / 1.026 GB, free: 8.84 MB / 0.7794 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