Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_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.008449/0.008449, allocations: 96.7 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.002201/0.002201, allocations: 194.8 kB / 16.67 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.14 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3084, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004406/0.3129, allocations: 2 MB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.3158, allocations: 1.2 MB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.316, allocations: 8 kB / 1.245 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.3165, allocations: 155.4 kB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.317, allocations: 155.4 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.3178, allocations: 218.9 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.3183, allocations: 319.2 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3185, allocations: 48.38 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.3188, allocations: 139.5 kB / 1.246 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.3191, allocations: 147.4 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.3191, allocations: 16 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.3193, allocations: 67.89 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3195, allocations: 79.75 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3197, allocations: 123.2 kB / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.3203, allocations: 374.3 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3203, allocations: 0 / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3203, allocations: 0 / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3203, allocations: 0 / 1.246 GB, free: 5.172 MB / 0.9981 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.001202/0.3215, allocations: 0.6339 MB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3216, allocations: 12.03 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.3216, allocations: 46.67 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.3217, allocations: 32.75 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.3222, allocations: 378.1 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3223, allocations: 8 kB / 1.247 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3223, allocations: 12 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3225, allocations: 107 kB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3226, allocations: 3.938 kB / 1.248 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3226, allocations: 4 kB / 1.248 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3226, allocations: 4 kB / 1.248 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.3228, allocations: 59.95 kB / 1.248 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.3236, allocations: 0.4886 MB / 1.248 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.3239, allocations: 150.6 kB / 1.248 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3241, allocations: 48.78 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3241, allocations: 3.984 kB / 1.248 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.3243, allocations: 119.2 kB / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3244, allocations: 0 / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005516/0.3249, allocations: 225.4 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.325, allocations: 55.41 kB / 1.249 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.3256, allocations: 0.5054 MB / 1.249 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3256, allocations: 29.7 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3258, allocations: 164.5 kB / 1.249 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.3258, allocations: 35.73 kB / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3259, allocations: 69.92 kB / 1.249 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3261, allocations: 350.8 kB / 1.25 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.3263, allocations: 104.5 kB / 1.25 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3266, allocations: 139.6 kB / 1.25 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.3269, allocations: 174.5 kB / 1.25 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3269, allocations: 0 / 1.25 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005819/0.3275, allocations: 325.3 kB / 1.25 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3275, allocations: 7.938 kB / 1.251 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3275, allocations: 0 / 1.251 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3276, allocations: 4 kB / 1.251 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3278, allocations: 51.91 kB / 1.251 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3278, allocations: 4 kB / 1.251 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.328, allocations: 19.88 kB / 1.251 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.328, allocations: 19.98 kB / 1.251 GB, free: 0.5742 MB / 0.9981 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.0001928/0.3282, allocations: 182.3 kB / 1.251 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.3283, allocations: 39.7 kB / 1.251 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.3283, allocations: 35.12 kB / 1.251 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3284, allocations: 4 kB / 1.251 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3284, allocations: 0 / 1.251 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3284, allocations: 0 / 1.251 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5294/0.8578, allocations: 299.3 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8578, allocations: 1.062 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.8579, allocations: 12.75 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8579, allocations: 4.281 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.858, allocations: 7.828 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.858, allocations: 1.969 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.858, allocations: 1.266 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.8584, allocations: 214.5 kB / 1.251 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.8585, allocations: 119 kB / 1.251 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.8586, allocations: 4.328 kB / 1.251 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.8587, allocations: 11.2 kB / 1.251 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.8588, allocations: 17.42 kB / 1.252 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.8588, allocations: 10.12 kB / 1.252 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003685/0.8592, allocations: 314.8 kB / 1.252 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8592, allocations: 0.8438 kB / 1.252 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003319/0.8595, allocations: 56.45 kB / 1.252 GB, free: 14.97 MB / 0.9981 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.001941/0.8615, allocations: 1.064 MB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.8619, allocations: 191.6 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8619, allocations: 0.8125 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.8621, allocations: 59.58 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.8626, allocations: 93.45 kB / 1.253 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.8662, allocations: 3.116 MB / 1.256 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.8664, allocations: 0.7849 MB / 1.257 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.8666, allocations: 58.09 kB / 1.257 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.8667, allocations: 107.7 kB / 1.257 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.8667, allocations: 0 / 1.257 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.8962, allocations: 7.159 MB / 1.264 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/9.108, allocations: 11.52 kB / 1.264 GB, free: 11.21 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches