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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00123/0.00123, 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.00107/0.00107, allocations: 194.2 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 71.22 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2582, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003629/0.2619, allocations: 1.996 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2636, allocations: 1.2 MB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2637, allocations: 7.938 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.2641, allocations: 155.5 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.2644, allocations: 163.3 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.2649, allocations: 218.5 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.2652, allocations: 311.2 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2654, allocations: 48.38 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.2655, allocations: 139.5 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2657, allocations: 151.4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.2657, allocations: 12 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2659, allocations: 59.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.266, allocations: 91.67 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2661, allocations: 119.2 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.2664, allocations: 359.1 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2664, allocations: 7.938 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2664, allocations: 3.938 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2664, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 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.0008289/0.2673, allocations: 0.6263 MB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2673, allocations: 12.02 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.2674, allocations: 38.75 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.2674, allocations: 32.5 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2679, allocations: 378 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2679, allocations: 12 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2679, allocations: 11.94 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.2682, allocations: 105.6 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2682, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2682, allocations: 4 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2682, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2684, allocations: 59.95 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.2691, allocations: 0.4964 MB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.2694, allocations: 130.8 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.2695, allocations: 52.83 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2696, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.2698, allocations: 121.4 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 3.587e-06/0.2698, allocations: 3.984 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004942/0.2703, allocations: 221.3 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2703, allocations: 51.41 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.2708, allocations: 0.5093 MB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2709, allocations: 29.7 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.271, allocations: 168.3 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.271, allocations: 39.55 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.2711, allocations: 73.86 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2712, allocations: 342.8 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2714, allocations: 100.5 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2716, allocations: 139.6 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.2719, allocations: 176.3 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2719, allocations: 3.938 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004894/0.2724, allocations: 313.2 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2724, allocations: 7.938 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2724, allocations: 4.062 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2725, allocations: 7.984 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2727, allocations: 47.98 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2727, allocations: 3.938 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2728, allocations: 27.77 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.2729, allocations: 11.98 kB / 1.073 GB, free: 4.914 MB / 0.8262 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.0001518/0.273, allocations: 183.5 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.2731, allocations: 39.47 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.2731, allocations: 43.06 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2731, allocations: 4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2732, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2732, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2734, allocations: 301.4 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2734, allocations: 0 / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.2735, allocations: 11.98 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2735, allocations: 3.938 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2735, allocations: 8 kB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2735, allocations: 0 / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2735, allocations: 0 / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.2739, allocations: 207.9 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.2739, allocations: 112.7 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.274, allocations: 15.86 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.2741, allocations: 4 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.2742, allocations: 23.97 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2742, allocations: 8 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002905/0.2745, allocations: 323.1 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2745, allocations: 0 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002682/0.2748, allocations: 55.91 kB / 1.074 GB, free: 3.508 MB / 0.8262 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.001389/0.2762, allocations: 1.063 MB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.2765, allocations: 195.8 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2766, allocations: 0 / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2767, allocations: 63.16 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.2771, allocations: 93.89 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.2804, allocations: 3.133 MB / 1.078 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2807, allocations: 0.7831 MB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.2809, allocations: 58.94 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.281, allocations: 107.4 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.281, allocations: 0 / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.3037, allocations: 7.049 MB / 1.086 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.542, allocations: 4 kB / 1.086 GB, free: 7.105 MB / 0.8419 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 50 --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