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.001474/0.001474, allocations: 103.6 kB / 16.45 MB, free: 6.453 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.001418/0.001418, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.551/1.551, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.432/3.432, allocations: 0.4899 GB / 0.7915 GB, free: 33.51 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.002339/0.002339, allocations: 79.95 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4281, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00403/0.4321, allocations: 2.04 MB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.4346, allocations: 1.36 MB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.4348, allocations: 7.938 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.4353, allocations: 159.4 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.4358, allocations: 211.1 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.4362, allocations: 155.6 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.4367, allocations: 339.1 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.4368, allocations: 36.67 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.4371, allocations: 159.4 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.4373, allocations: 167.3 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.4374, allocations: 12 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.4375, allocations: 67.95 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.4376, allocations: 91.62 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.4378, allocations: 131.1 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.4383, allocations: 386.2 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4383, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4383, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4383, allocations: 3.938 kB / 1.326 GB, free: 13.53 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.001228/0.4396, allocations: 0.6455 MB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4396, allocations: 15.98 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.4397, allocations: 36.7 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.4403, allocations: 394.2 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.4403, allocations: 8 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4403, allocations: 4 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.4406, allocations: 111.4 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4406, allocations: 0 / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4406, allocations: 0 / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4406, allocations: 7.984 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.4408, allocations: 63.91 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/0.4417, allocations: 0.4926 MB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.4421, allocations: 134.6 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4422, allocations: 44.84 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4422, allocations: 3.984 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.4425, allocations: 107.3 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.4425, allocations: 4 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006276/0.4431, allocations: 229.2 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.4432, allocations: 55.41 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.4438, allocations: 0.5288 MB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.4439, allocations: 25.7 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.444, allocations: 172.5 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.4441, allocations: 35.73 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4442, allocations: 69.92 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4444, allocations: 350.8 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.4446, allocations: 104.5 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.4448, allocations: 135.6 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.4452, allocations: 178.5 kB / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4452, allocations: 0 / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005974/0.4458, allocations: 333.3 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4458, allocations: 7.938 kB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4458, allocations: 4 kB / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4458, allocations: 0 / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4461, allocations: 59.84 kB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4461, allocations: 0 / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.4462, allocations: 23.88 kB / 1.331 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4462, allocations: 8 kB / 1.331 GB, free: 8.941 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.0002198/0.4465, allocations: 189.5 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.4465, allocations: 43.64 kB / 1.331 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.4466, allocations: 39.25 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4466, allocations: 0 / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4466, allocations: 4 kB / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4466, allocations: 0 / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.447, allocations: 305.4 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.447, allocations: 0 / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.4471, allocations: 11.98 kB / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4471, allocations: 3.938 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4471, allocations: 4 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4471, allocations: 4 kB / 1.331 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4471, allocations: 0 / 1.331 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.4475, allocations: 224.2 kB / 1.331 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4476, allocations: 116.9 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.4477, allocations: 7.938 kB / 1.332 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4478, allocations: 11.98 kB / 1.332 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.4478, allocations: 15.98 kB / 1.332 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4479, allocations: 8 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003763/0.4482, allocations: 323.1 kB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4482, allocations: 0 / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003065/0.4485, allocations: 63.88 kB / 1.332 GB, free: 7.5 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 (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.001632/0.4502, allocations: 421.3 kB / 1.332 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.4506, allocations: 190.9 kB / 1.333 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4506, allocations: 0 / 1.333 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.4508, allocations: 55.91 kB / 1.333 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.4513, allocations: 96.25 kB / 1.333 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.4523, allocations: 0.5546 MB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.4528, allocations: 0.7909 MB / 1.334 GB, free: 5.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4529, allocations: 58.94 kB / 1.334 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.453, allocations: 35.42 kB / 1.334 GB, free: 5.43 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.453, allocations: 4 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of Templates: time 0.00919/0.4622, allocations: 4.176 MB / 1.338 GB, free: 1.281 MB / 1.029 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/jenkins/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.623202235903591]