Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_10_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.005526/0.005527, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001248/0.001248, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7105 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9324, allocations: 151.6 MB / 1.166 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003558/0.936, allocations: 2.003 MB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.9381, allocations: 1.189 MB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.9382, allocations: 4 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.9387, allocations: 171.4 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.939, allocations: 151.4 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.9396, allocations: 221.9 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.9401, allocations: 315.2 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.9403, allocations: 48.38 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.9406, allocations: 155.4 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.9408, allocations: 151.4 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.9408, allocations: 16 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.941, allocations: 55.97 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.9411, allocations: 83.73 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.9413, allocations: 127.2 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.9417, allocations: 376.9 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.9417, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9417, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9417, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 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.001045/0.9428, allocations: 0.6224 MB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9428, allocations: 12.92 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.9429, allocations: 42.73 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.943, allocations: 32.56 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.9435, allocations: 377.8 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.9435, allocations: 8 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9435, allocations: 8 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.9438, allocations: 113.5 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9438, allocations: 4 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.9438, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9438, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.944, allocations: 59.95 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.9448, allocations: 0.4925 MB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.9451, allocations: 134.8 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.9452, allocations: 48.78 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.9453, allocations: 11.98 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.9455, allocations: 115.2 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 3.006e-06/0.9455, allocations: 0 / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005422/0.9461, allocations: 223.1 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.9461, allocations: 55.41 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.9467, allocations: 0.5092 MB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.9467, allocations: 37.7 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.9469, allocations: 156.5 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.9469, allocations: 35.55 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.947, allocations: 69.88 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9472, allocations: 350.8 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.9474, allocations: 100.5 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.9476, allocations: 136.2 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.9479, allocations: 178.5 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9479, allocations: 0 / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005412/0.9485, allocations: 317.2 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9485, allocations: 7.938 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9485, allocations: 4.062 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.9485, allocations: 7.938 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.9488, allocations: 43.97 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9488, allocations: 4 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.9489, allocations: 19.83 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.949, allocations: 12 kB / 1.175 GB, free: 10.25 MB / 0.9044 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.000163/0.9491, allocations: 193.7 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.9492, allocations: 35.47 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/0.9493, allocations: 39.12 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9493, allocations: 0 / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9493, allocations: 4 kB / 1.176 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.9493, allocations: 0 / 1.176 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.9496, allocations: 305.4 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9496, allocations: 0 / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.9497, allocations: 23.86 kB / 1.176 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.9497, allocations: 3.938 kB / 1.176 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.9497, allocations: 4 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.9497, allocations: 0 / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9497, allocations: 0 / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.9501, allocations: 205.7 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.9502, allocations: 120.5 kB / 1.176 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.9502, allocations: 7.984 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.9503, allocations: 8 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.9504, allocations: 23.91 kB / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.9504, allocations: 4 kB / 1.176 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003391/0.9508, allocations: 319.1 kB / 1.177 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9508, allocations: 0 / 1.177 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000296/0.9511, allocations: 56 kB / 1.177 GB, free: 8.832 MB / 0.9044 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.001614/0.9527, allocations: 1.059 MB / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.9531, allocations: 208 kB / 1.178 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9532, allocations: 0 / 1.178 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.9533, allocations: 59.91 kB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.9538, allocations: 87.22 kB / 1.178 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.9575, allocations: 3.116 MB / 1.181 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.9578, allocations: 0.7831 MB / 1.182 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.958, allocations: 54.94 kB / 1.182 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.9581, allocations: 107.4 kB / 1.182 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9582, allocations: 0 / 1.182 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.9825, allocations: 7.151 MB / 1.189 GB, free: 12.33 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/9.168, allocations: 10.47 kB / 1.189 GB, free: 12.32 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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