Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 110.4 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.9 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7635 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.88 kB / 1.108 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8799, allocations: 168.7 MB / 1.272 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003806/0.8837, allocations: 2.003 MB / 1.274 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.8861, allocations: 1.237 MB / 1.276 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.8862, allocations: 7.938 kB / 1.276 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.8868, allocations: 155.4 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.8871, allocations: 159.4 kB / 1.276 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.8877, allocations: 232.5 kB / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.8881, allocations: 311.2 kB / 1.276 GB, free: 260 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.8883, allocations: 34.16 kB / 1.276 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.8886, allocations: 151.4 kB / 1.277 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.8888, allocations: 159.4 kB / 1.277 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.8888, allocations: 16 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.889, allocations: 59.91 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.8891, allocations: 83.73 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.8892, allocations: 139.1 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.8897, allocations: 366.4 kB / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8897, allocations: 0 / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8897, allocations: 0 / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8897, allocations: 7.938 kB / 1.277 GB, free: 15.25 MB / 0.9825 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.00115/0.8909, allocations: 0.6377 MB / 1.278 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8909, allocations: 8.031 kB / 1.278 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.488e-05/0.891, allocations: 42.73 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.8911, allocations: 36.7 kB / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.8916, allocations: 378.2 kB / 1.278 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.8917, allocations: 8 kB / 1.278 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.8917, allocations: 8 kB / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.892, allocations: 115.2 kB / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.892, allocations: 0 / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.892, allocations: 7.938 kB / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.892, allocations: 0 / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.8922, allocations: 59.95 kB / 1.279 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.893, allocations: 0.4926 MB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.8934, allocations: 130.7 kB / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.8935, allocations: 52.84 kB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.8935, allocations: 3.984 kB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.8938, allocations: 111.2 kB / 1.279 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.8938, allocations: 0 / 1.279 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005863/0.8944, allocations: 221.4 kB / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.8944, allocations: 55.41 kB / 1.28 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.895, allocations: 0.5093 MB / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.8951, allocations: 33.7 kB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.8952, allocations: 164.5 kB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.8953, allocations: 39.69 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.8954, allocations: 61.97 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8955, allocations: 350.8 kB / 1.281 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.8957, allocations: 100.5 kB / 1.281 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.896, allocations: 140.1 kB / 1.281 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.8963, allocations: 183 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8963, allocations: 3.938 kB / 1.281 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005515/0.8969, allocations: 321.3 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.8969, allocations: 12 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8969, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.8969, allocations: 4 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.8971, allocations: 47.91 kB / 1.282 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8971, allocations: 4 kB / 1.282 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.8973, allocations: 27.88 kB / 1.282 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.8973, allocations: 8 kB / 1.282 GB, free: 10.68 MB / 0.9825 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.000198/0.8975, allocations: 189.6 kB / 1.282 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.8976, allocations: 43.7 kB / 1.282 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.898, allocations: 192.7 kB / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.898, allocations: 0 / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.898, allocations: 0 / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.898, allocations: 0 / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.8983, allocations: 301.4 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8983, allocations: 0 / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.8984, allocations: 11.98 kB / 1.282 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/0.8984, allocations: 7.938 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.8984, allocations: 8 kB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8984, allocations: 0 / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8984, allocations: 4 kB / 1.282 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.8988, allocations: 212.4 kB / 1.283 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.8989, allocations: 120.8 kB / 1.283 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.899, allocations: 4 kB / 1.283 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8991, allocations: 11.98 kB / 1.283 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.8991, allocations: 15.98 kB / 1.283 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.8992, allocations: 12 kB / 1.283 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003542/0.8995, allocations: 315.1 kB / 1.283 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8995, allocations: 0 / 1.283 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002932/0.8998, allocations: 55.94 kB / 1.283 GB, free: 9.113 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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.002157/0.902, allocations: 1.073 MB / 1.284 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.9024, allocations: 176.1 kB / 1.284 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9024, allocations: 0 / 1.284 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.9025, allocations: 63.89 kB / 1.284 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.903, allocations: 86.42 kB / 1.284 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.9071, allocations: 3.131 MB / 1.287 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.9076, allocations: 0.787 MB / 1.288 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.9077, allocations: 50.94 kB / 1.288 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.9079, allocations: 111.4 kB / 1.288 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.9079, allocations: 0 / 1.288 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04382/0.9517, allocations: 7.195 MB / 1.295 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.517, allocations: 18.25 kB / 1.295 GB, free: 12.55 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.591169886058196]