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.008822/0.008822, allocations: 99.31 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.001513/0.001513, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.352/3.352, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3423, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004195/0.3466, allocations: 1.997 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.3489, allocations: 1.197 MB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.3492, allocations: 7.938 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.3497, allocations: 151.5 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.3502, allocations: 159.3 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.3509, allocations: 228 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3514, allocations: 311.2 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3516, allocations: 52.38 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.3519, allocations: 151.4 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3521, allocations: 151.4 kB / 1.212 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3521, allocations: 16 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3523, allocations: 55.97 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3524, allocations: 87.67 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3526, allocations: 127.2 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.353, allocations: 363 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.353, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.353, allocations: 4 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.353, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 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.001086/0.3541, allocations: 0.6263 MB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3542, allocations: 8.625 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.3542, allocations: 42.73 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.3543, allocations: 36.47 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.3549, allocations: 377.8 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3549, allocations: 8 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3549, allocations: 12 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3552, allocations: 101.6 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3552, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3552, allocations: 8 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3552, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3554, allocations: 67.8 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.3562, allocations: 0.4925 MB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.3566, allocations: 134.7 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3567, allocations: 48.83 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3567, allocations: 7.938 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.357, allocations: 115.3 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.357, allocations: 0 / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000512/0.3575, allocations: 225.2 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3576, allocations: 51.41 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.3581, allocations: 0.5055 MB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3582, allocations: 29.7 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3583, allocations: 168.3 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.3583, allocations: 39.55 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3584, allocations: 69.95 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3586, allocations: 346.8 kB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.3588, allocations: 104.5 kB / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.359, allocations: 135.6 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3593, allocations: 184.2 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3594, allocations: 0 / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005367/0.3599, allocations: 317.1 kB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3599, allocations: 15.92 kB / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3599, allocations: 0 / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.36, allocations: 0 / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3602, allocations: 55.97 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3602, allocations: 0 / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3604, allocations: 15.94 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3604, allocations: 15.98 kB / 1.216 GB, free: 0.5312 MB / 0.9669 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.0001673/0.3606, allocations: 181.8 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3606, allocations: 35.47 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.3607, allocations: 39.11 kB / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3607, allocations: 3.938 kB / 1.217 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3607, allocations: 4 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3607, allocations: 0 / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.361, allocations: 301.4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.361, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.3611, allocations: 19.98 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.3611, allocations: 3.938 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3611, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3611, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3611, allocations: 7.938 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3615, allocations: 222.8 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.3616, allocations: 112.7 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.3617, allocations: 8 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3618, allocations: 7.984 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.3618, allocations: 19.98 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3619, allocations: 8 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003449/0.3622, allocations: 315.1 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3622, allocations: 0 / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000292/0.3625, allocations: 56 kB / 1.218 GB, free: 15.12 MB / 0.9825 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.001618/0.3641, allocations: 1.07 MB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3646, allocations: 187.9 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3646, allocations: 0 / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3648, allocations: 63.91 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3653, allocations: 97.67 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.3692, allocations: 3.111 MB / 1.222 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3696, allocations: 0.783 MB / 1.223 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.3697, allocations: 54.94 kB / 1.223 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3699, allocations: 107.4 kB / 1.223 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3699, allocations: 0 / 1.223 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.397, allocations: 7.283 MB / 1.23 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.226, allocations: 4 kB / 1.23 GB, free: 2.535 MB / 0.9825 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) "" Variables in the reference:time,intLes.u1,intLes.u2,intLes.y Variables in the result:intLes.u1,intLes.u2,intLes.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time