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.001748/0.001748, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001793/0.001793, allocations: 208.1 kB / 22.99 MB, free: 4.957 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.414/3.414, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002078/0.002078, allocations: 75.28 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.422, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004094/0.4261, allocations: 1.977 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.4287, allocations: 1.275 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.4289, allocations: 7.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.4293, allocations: 163.4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.4299, allocations: 215.2 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.4303, allocations: 163.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.4308, allocations: 343 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.4309, allocations: 36.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.4312, allocations: 143.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.4314, allocations: 163.4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.4315, allocations: 16 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4316, allocations: 71.89 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4318, allocations: 91.69 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4319, allocations: 99.27 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.4324, allocations: 386.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4324, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4324, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4324, allocations: 0 / 1.332 GB, free: 11.84 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.00112/0.4336, allocations: 0.5779 MB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4336, allocations: 12.03 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.839e-05/0.4337, allocations: 36.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.4342, allocations: 324.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4343, allocations: 11.91 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.4343, allocations: 8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.4346, allocations: 109.6 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4346, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4346, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4346, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.4348, allocations: 67.95 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.4357, allocations: 428.1 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.4361, allocations: 134.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4362, allocations: 52.77 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4362, allocations: 4 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.4365, allocations: 125.6 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.4365, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.00067/0.4372, allocations: 237.2 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.4372, allocations: 55.41 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.4379, allocations: 0.5405 MB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.4379, allocations: 25.7 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4381, allocations: 168.5 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.4381, allocations: 35.75 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4383, allocations: 73.91 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.4385, allocations: 350.8 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.4387, allocations: 100.5 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4389, allocations: 139.6 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.4393, allocations: 191 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4393, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000609/0.4399, allocations: 333.3 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4399, allocations: 4 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4399, allocations: 0 / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4399, allocations: 7.938 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.4402, allocations: 51.91 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4402, allocations: 4 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4403, allocations: 24 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.4404, allocations: 8 kB / 1.336 GB, free: 7.469 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.0002266/0.4406, allocations: 190.1 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.4407, allocations: 39.75 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.4412, allocations: 216.7 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4412, allocations: 4 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4412, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4412, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.4416, allocations: 233.1 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4416, allocations: 0 / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.4417, allocations: 23.92 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4417, allocations: 0 / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4418, allocations: 4 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4418, allocations: 7.922 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4418, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.4422, allocations: 226.6 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.4423, allocations: 31.81 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.4423, allocations: 8 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.4424, allocations: 19.92 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.4425, allocations: 19.97 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4425, allocations: 11.98 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003904/0.4429, allocations: 327.1 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4429, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003181/0.4432, allocations: 59.89 kB / 1.338 GB, free: 6.016 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 (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.00171/0.445, allocations: 463 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.4455, allocations: 191.8 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4455, allocations: 0 / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.4457, allocations: 65.88 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.4462, allocations: 95.28 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.4472, allocations: 0.5664 MB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.4474, allocations: 180 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.4475, allocations: 58.92 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4476, allocations: 43.42 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.4476, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of Templates: time 0.01056/0.4582, allocations: 4.751 MB / 1.344 GB, free: 15.83 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 -s cvode -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: 9.68731173100241]