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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476 MB / 0.7699 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 66.39 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3556, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004162/0.3597, allocations: 1.985 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002806/0.3625, allocations: 1.275 MB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.3627, allocations: 7.938 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.3633, allocations: 171.4 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005816/0.3639, allocations: 207.2 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.3643, allocations: 163.6 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.3648, allocations: 339 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.365, allocations: 28.92 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3652, allocations: 155.4 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3655, allocations: 167.3 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.3655, allocations: 16 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.3657, allocations: 51.98 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3659, allocations: 99.59 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.366, allocations: 95.34 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.3666, allocations: 392 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3666, allocations: 4 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3666, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.3666, allocations: 0 / 1.288 GB, free: 7.246 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.001197/0.3678, allocations: 0.5798 MB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3679, allocations: 12.03 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.3679, allocations: 38.69 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.368, allocations: 36.7 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.3686, allocations: 320.3 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3687, allocations: 11.98 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3687, allocations: 4 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.369, allocations: 117.5 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.369, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.369, allocations: 8 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.369, allocations: 4 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3692, allocations: 67.95 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.3701, allocations: 443.6 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.3704, allocations: 138.7 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3706, allocations: 48.84 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3706, allocations: 3.938 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.3708, allocations: 131.2 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3708, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005797/0.3714, allocations: 229.4 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3715, allocations: 55.41 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/0.3722, allocations: 0.525 MB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3722, allocations: 29.7 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3724, allocations: 180.4 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3725, allocations: 39.72 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3726, allocations: 73.92 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3728, allocations: 350.8 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.373, allocations: 108.5 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.3732, allocations: 135.6 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.3736, allocations: 192.3 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3736, allocations: 0 / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005707/0.3742, allocations: 325.3 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3742, allocations: 18.03 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3742, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3742, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3744, allocations: 55.91 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3745, allocations: 0 / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3746, allocations: 19.94 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.3746, allocations: 11.98 kB / 1.292 GB, free: 2.785 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.0002058/0.3748, allocations: 185.7 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.3749, allocations: 39.7 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.3753, allocations: 212.7 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3753, allocations: 7.875 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3753, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3753, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3756, allocations: 260.6 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3756, allocations: 4 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.3757, allocations: 15.98 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3757, allocations: 3.938 kB / 1.292 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3757, allocations: 7.984 kB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3757, allocations: 0 / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3757, allocations: 8 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.3762, allocations: 227.4 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.3763, allocations: 43.7 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3763, allocations: 4 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3764, allocations: 15.98 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.3765, allocations: 15.97 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.3765, allocations: 11.98 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003906/0.3769, allocations: 323.1 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3769, allocations: 4 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002988/0.3772, allocations: 63.89 kB / 1.293 GB, free: 1.293 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 (15): * Single equations (assignments): 11 * 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.002426/0.3796, allocations: 1.101 MB / 1.294 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.3801, allocations: 194.6 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3801, allocations: 0 / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3803, allocations: 63.91 kB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.3808, allocations: 97.31 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.3854, allocations: 3.214 MB / 1.298 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.3856, allocations: 187.8 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.3857, allocations: 62.91 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.3859, allocations: 111.4 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.3859, allocations: 0 / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.4258, allocations: 8.349 MB / 1.306 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.03, allocations: 13.72 kB / 1.306 GB, free: 4.074 MB / 0.9981 GB " [Timeout remaining time 287] (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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 19.015249005053192]