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.00638/0.00638, allocations: 101 kB / 15.73 MB, free: 6.469 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.001191/0.001191, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 67.89 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3224, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00347/0.3259, allocations: 1.993 MB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3281, allocations: 1.205 MB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.3283, allocations: 7.938 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.3288, allocations: 151.4 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.3293, allocations: 155.4 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.33, allocations: 227.8 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.3305, allocations: 307.2 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.3307, allocations: 48.38 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.331, allocations: 151.4 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.3313, allocations: 155.4 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.3314, allocations: 12 kB / 1.212 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3316, allocations: 59.97 kB / 1.212 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.3317, allocations: 91.67 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3319, allocations: 123.1 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.3324, allocations: 371 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3324, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3324, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3324, allocations: 0 / 1.212 GB, free: 5.066 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.001177/0.3336, allocations: 0.6224 MB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3337, allocations: 16.62 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.3337, allocations: 34.75 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.3338, allocations: 36.47 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.3344, allocations: 381.8 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3344, allocations: 4 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.3345, allocations: 15.97 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.3347, allocations: 101.6 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3347, allocations: 0 / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3348, allocations: 4 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3348, allocations: 4 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.335, allocations: 67.8 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.3359, allocations: 0.4926 MB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.3363, allocations: 138.7 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3365, allocations: 48.83 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3365, allocations: 0 / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.3367, allocations: 115.2 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.3367, allocations: 4 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005475/0.3373, allocations: 225.2 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3373, allocations: 55.41 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.3379, allocations: 0.5016 MB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3379, allocations: 29.7 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.338, allocations: 172.3 kB / 1.215 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.3381, allocations: 43.53 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3382, allocations: 65.97 kB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3383, allocations: 346.8 kB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3385, allocations: 100.5 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.3388, allocations: 135.6 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3391, allocations: 180.2 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3391, allocations: 0 / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005612/0.3397, allocations: 329.1 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3397, allocations: 7.938 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3397, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3397, allocations: 4 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.34, allocations: 47.91 kB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.34, allocations: 4 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3401, allocations: 15.94 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3402, allocations: 15.98 kB / 1.216 GB, free: 0.5078 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.0001879/0.3404, allocations: 181.8 kB / 1.217 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.3404, allocations: 39.47 kB / 1.217 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.3405, allocations: 31.12 kB / 1.217 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3405, allocations: 4 kB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3405, allocations: 0 / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3405, allocations: 7.922 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3408, allocations: 297.4 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3408, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.3409, allocations: 15.98 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3409, allocations: 3.938 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3409, allocations: 8 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3409, allocations: 3.984 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3409, allocations: 4 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.3413, allocations: 215.2 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3414, allocations: 116.7 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.3415, allocations: 4 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3416, allocations: 7.984 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.3417, allocations: 23.98 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3417, allocations: 7.984 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003251/0.342, allocations: 315.1 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.342, allocations: 0 / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002901/0.3423, allocations: 59.98 kB / 1.218 GB, free: 15.09 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.001517/0.3438, allocations: 1.057 MB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.3443, allocations: 187.9 kB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3443, allocations: 0 / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.3444, allocations: 63.91 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3449, allocations: 97.14 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.3486, allocations: 3.116 MB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3489, allocations: 0.7908 MB / 1.223 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.3491, allocations: 50.94 kB / 1.223 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3492, allocations: 111.4 kB / 1.223 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3493, allocations: 0 / 1.223 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3761, allocations: 7.278 MB / 1.23 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.69, allocations: 4.062 kB / 1.23 GB, free: 2.516 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