Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.004631/0.004631, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001559/0.001559, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.7425 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 64.12 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6878, allocations: 159.1 MB / 1.22 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00329/0.6911, allocations: 1.994 MB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.6931, allocations: 1.201 MB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.6932, allocations: 7.938 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.6936, allocations: 159.4 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.6939, allocations: 155.4 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.6944, allocations: 223.5 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.6948, allocations: 307.2 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.695, allocations: 56.36 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.6952, allocations: 139.4 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.6954, allocations: 147.4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.6954, allocations: 16 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.6956, allocations: 55.97 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.6957, allocations: 91.67 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.6958, allocations: 127.2 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.6963, allocations: 374 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6963, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6963, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.6963, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009676/0.6973, allocations: 0.6377 MB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.6973, allocations: 12.03 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.6974, allocations: 34.75 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.6974, allocations: 40.7 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.698, allocations: 378.1 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.698, allocations: 8 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.698, allocations: 8 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.6983, allocations: 109.5 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6983, allocations: 8 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6983, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6983, allocations: 3.938 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.6985, allocations: 67.89 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.6993, allocations: 496.5 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.6997, allocations: 142.6 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.6999, allocations: 56.83 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.6999, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.7001, allocations: 107.3 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.7001, allocations: 3.938 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.000546/0.7007, allocations: 226.2 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.7007, allocations: 55.41 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.7014, allocations: 0.5093 MB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.7014, allocations: 33.7 kB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.7015, allocations: 164.4 kB / 1.228 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.7016, allocations: 35.75 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.7017, allocations: 69.95 kB / 1.228 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.7019, allocations: 346.8 kB / 1.228 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.7021, allocations: 104.5 kB / 1.229 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.7024, allocations: 135.6 kB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.7027, allocations: 183 kB / 1.229 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7027, allocations: 0 / 1.229 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005769/0.7033, allocations: 321.3 kB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7033, allocations: 15.98 kB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7034, allocations: 0 / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.7034, allocations: 4 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.7036, allocations: 47.91 kB / 1.229 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7036, allocations: 4 kB / 1.229 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.7038, allocations: 15.89 kB / 1.229 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.7038, allocations: 15.98 kB / 1.229 GB, free: 8.359 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001895/0.704, allocations: 185.7 kB / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.704, allocations: 43.69 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.7041, allocations: 35.12 kB / 1.23 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.7041, allocations: 0 / 1.23 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.7041, allocations: 4 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7041, allocations: 3.984 kB / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.7045, allocations: 293.5 kB / 1.23 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7045, allocations: 3.938 kB / 1.23 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.7045, allocations: 15.98 kB / 1.23 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7046, allocations: 3.938 kB / 1.23 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.7046, allocations: 8 kB / 1.23 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7046, allocations: 3.938 kB / 1.23 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7046, allocations: 7.938 kB / 1.23 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.705, allocations: 209.8 kB / 1.23 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.7051, allocations: 116.8 kB / 1.23 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.7051, allocations: 4 kB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.7053, allocations: 11.98 kB / 1.23 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.7053, allocations: 15.98 kB / 1.23 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7053, allocations: 8 kB / 1.23 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003804/0.7057, allocations: 315.1 kB / 1.231 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7057, allocations: 0 / 1.231 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002975/0.706, allocations: 59.89 kB / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00214/0.7082, allocations: 1.068 MB / 1.232 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.7086, allocations: 192.1 kB / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7086, allocations: 3.938 kB / 1.232 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.7088, allocations: 67.03 kB / 1.232 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.7093, allocations: 81.77 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.7133, allocations: 3.113 MB / 1.235 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.7138, allocations: 0.787 MB / 1.236 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.7139, allocations: 54.92 kB / 1.236 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.7141, allocations: 107.4 kB / 1.236 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.7141, allocations: 4 kB / 1.236 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.7434, allocations: 7.156 MB / 1.243 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.947, allocations: 10.97 kB / 1.243 GB, free: 10.48 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches