Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001693/0.001693, allocations: 217.8 kB / 23.01 MB, free: 4.602 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.49 GB / 0.7958 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [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.00202/0.00202, allocations: 69.03 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3674, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003703/0.3711, allocations: 2.052 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.3737, allocations: 1.364 MB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.3739, allocations: 7.875 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.3744, allocations: 171.4 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.3749, allocations: 207.2 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.3753, allocations: 159.6 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.3758, allocations: 339 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.376, allocations: 36.86 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.3762, allocations: 167.4 kB / 1.332 GB, free: 13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.3765, allocations: 167.3 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.3765, allocations: 12 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3767, allocations: 63.97 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3768, allocations: 99.59 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.377, allocations: 123.2 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.3775, allocations: 386.3 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3775, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3775, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.3775, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 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.001288/0.3788, allocations: 0.5702 MB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3789, allocations: 8.031 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.379, allocations: 40.7 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.3796, allocations: 328.4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3796, allocations: 4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.3797, allocations: 8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.3799, allocations: 105.5 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.38, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.38, allocations: 7.984 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.38, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3802, allocations: 59.97 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009555/0.3811, allocations: 483.5 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.3815, allocations: 130.6 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.3816, allocations: 52.77 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3817, allocations: 4 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.3819, allocations: 116.4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.3819, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005993/0.3825, allocations: 227.3 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3826, allocations: 67.34 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.3833, allocations: 0.5172 MB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.3833, allocations: 33.7 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3836, allocations: 172.4 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3836, allocations: 39.78 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3837, allocations: 69.92 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.3839, allocations: 350.8 kB / 1.336 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.3842, allocations: 100.5 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.3844, allocations: 135.6 kB / 1.336 GB, free: 8.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.3848, allocations: 179 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3848, allocations: 0 / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00064/0.3854, allocations: 333.4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3855, allocations: 11.94 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3855, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.3855, allocations: 4 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.3858, allocations: 47.91 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3858, allocations: 4 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3859, allocations: 23.81 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.386, allocations: 16 kB / 1.336 GB, free: 7.77 MB / 1.029 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.0002451/0.3862, allocations: 182.2 kB / 1.337 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3863, allocations: 43.7 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.3867, allocations: 192.8 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3867, allocations: 4 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3867, allocations: 0 / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3867, allocations: 0 / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.3871, allocations: 276.5 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3871, allocations: 0 / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.3871, allocations: 11.98 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.3871, allocations: 7.938 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3872, allocations: 4 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3872, allocations: 3.938 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3872, allocations: 0 / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.3876, allocations: 210 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.3876, allocations: 39.7 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.3877, allocations: 11.92 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3878, allocations: 12 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3879, allocations: 23.97 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3879, allocations: 7.984 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004188/0.3883, allocations: 323.1 kB / 1.338 GB, free: 6.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3883, allocations: 0 / 1.338 GB, free: 6.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003192/0.3886, allocations: 63.89 kB / 1.338 GB, free: 6.309 MB / 1.029 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.00162/0.3903, allocations: 426.9 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.3907, allocations: 187.8 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3907, allocations: 0 / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.3909, allocations: 51.91 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.3914, allocations: 103.7 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3924, allocations: 0.5798 MB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3929, allocations: 0.7949 MB / 1.34 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.393, allocations: 35.42 kB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.393, allocations: 0 / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of Templates: time 0.008406/0.4014, allocations: 4.573 MB / 1.344 GB, free: 15.7 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.731003222987056]