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.001366/0.001366, 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.001443/0.001443, allocations: 193 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 72.86 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3502, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003979/0.3542, allocations: 2.011 MB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3565, allocations: 1.189 MB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.3567, allocations: 11.94 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.3573, allocations: 159.5 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.3579, allocations: 159.3 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.3586, allocations: 218.7 kB / 1.057 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.3591, allocations: 311.2 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.3593, allocations: 52.36 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.3596, allocations: 143.4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3599, allocations: 151.4 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.36, allocations: 12 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.3602, allocations: 59.98 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3603, allocations: 95.66 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3605, allocations: 123.1 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.3609, allocations: 355 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3609, allocations: 3.984 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3609, allocations: 0 / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.361, allocations: 0 / 1.058 GB, free: 3.258 MB / 0.8106 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.001087/0.3621, allocations: 0.6263 MB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3621, allocations: 12.62 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.3622, allocations: 38.75 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.3623, allocations: 32.56 kB / 1.059 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.3627, allocations: 374 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3628, allocations: 15.94 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3628, allocations: 12 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.363, allocations: 103.2 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3631, allocations: 4 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3631, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3631, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.3633, allocations: 67.95 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.3642, allocations: 0.4924 MB / 1.06 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.3645, allocations: 134.8 kB / 1.06 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3647, allocations: 56.81 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3647, allocations: 3.938 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.365, allocations: 107.3 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.365, allocations: 0 / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005344/0.3655, allocations: 221.3 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.3656, allocations: 63.34 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.3662, allocations: 0.5053 MB / 1.061 GB, free: 216 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3662, allocations: 33.7 kB / 1.061 GB, free: 176 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3663, allocations: 164.4 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.3664, allocations: 31.56 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3665, allocations: 73.86 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3667, allocations: 350.8 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3669, allocations: 100.5 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3671, allocations: 131.6 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.3674, allocations: 176.2 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3675, allocations: 7.938 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005324/0.368, allocations: 321.2 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.368, allocations: 7.938 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.368, allocations: 0 / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.368, allocations: 4 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.3683, allocations: 47.97 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3683, allocations: 7.938 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3684, allocations: 19.84 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3685, allocations: 12.05 kB / 1.062 GB, free: 14.7 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.0001766/0.3686, allocations: 181.8 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.3687, allocations: 35.56 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/0.3688, allocations: 35.12 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3688, allocations: 4 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3688, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3688, allocations: 3.984 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.3691, allocations: 301.3 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3691, allocations: 0 / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.3692, allocations: 19.98 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3692, allocations: 7.875 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3692, allocations: 8 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3692, allocations: 0 / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3692, allocations: 3.984 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.3696, allocations: 196.6 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.3697, allocations: 112.7 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.3697, allocations: 11.94 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.3698, allocations: 11.98 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.3699, allocations: 15.98 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3699, allocations: 8 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003339/0.3703, allocations: 315.1 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002892/0.3706, allocations: 59.89 kB / 1.063 GB, free: 13.3 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.001615/0.3722, allocations: 1.073 MB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.3726, allocations: 195.9 kB / 1.065 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3726, allocations: 0 / 1.065 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3728, allocations: 61.28 kB / 1.065 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3733, allocations: 96.45 kB / 1.065 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.3772, allocations: 3.128 MB / 1.068 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3776, allocations: 0.787 MB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.3778, allocations: 54.89 kB / 1.069 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.3779, allocations: 107.4 kB / 1.069 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.378, allocations: 4 kB / 1.069 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.4052, allocations: 7.056 MB / 1.076 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.869, allocations: 10.59 kB / 1.076 GB, free: 0.8984 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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