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.001092/0.001092, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002735, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001117/0.001117, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002697, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.066/1.066, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.17, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.838/1.838, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5646/2.403, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.771e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003041/0.003058, allocations: 2.077 MB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.005226, allocations: 1.351 MB / 0.733 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.005388, allocations: 7.594 kB / 0.733 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.005807, allocations: 164.9 kB / 0.7332 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.006192, allocations: 222.3 kB / 0.7334 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.006516, allocations: 164.1 kB / 0.7335 GB, free: 472 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.006896, allocations: 336.4 kB / 0.7339 GB, free: 136 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.00707, allocations: 42.88 kB / 0.7339 GB, free: 92 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009116/0.007982, allocations: 330.7 kB / 0.7342 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.008176, allocations: 124.2 kB / 0.7343 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.008209, allocations: 17.59 kB / 0.7344 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.008363, allocations: 59.72 kB / 0.7344 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.008472, allocations: 83.7 kB / 0.7345 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.008545, allocations: 51.81 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.008885, allocations: 243.9 kB / 0.7348 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-05/0.008903, allocations: 0 / 0.7348 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.008904, allocations: 0 / 0.7348 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.008922, allocations: 0.5 kB / 0.7348 GB, free: 15.25 MB / 0.7136 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.0008176/0.00974, allocations: 0.5895 MB / 0.7353 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.009782, allocations: 8.031 kB / 0.7354 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.009846, allocations: 24.91 kB / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.01017, allocations: 268.8 kB / 0.7356 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01019, allocations: 8.375 kB / 0.7356 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.01022, allocations: 15.94 kB / 0.7357 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.0104, allocations: 96.58 kB / 0.7358 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.01041, allocations: 0 / 0.7358 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.01042, allocations: 5.75 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.01043, allocations: 4 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.01048, allocations: 23.91 kB / 0.7358 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.01093, allocations: 258.8 kB / 0.736 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.01109, allocations: 128.7 kB / 0.7362 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.01113, allocations: 25.91 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.01114, allocations: 11.94 kB / 0.7362 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.01128, allocations: 86.97 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.01128, allocations: 0 / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002088/0.01149, allocations: 102.4 kB / 0.7364 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.01153, allocations: 59.34 kB / 0.7364 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.01178, allocations: 362.7 kB / 0.7368 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.0118, allocations: 30.61 kB / 0.7368 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.01187, allocations: 129.5 kB / 0.7369 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.0119, allocations: 47.66 kB / 0.737 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.01197, allocations: 66.62 kB / 0.737 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01208, allocations: 356 kB / 0.7374 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.01212, allocations: 27.38 kB / 0.7374 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.01218, allocations: 59.64 kB / 0.7375 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01232, allocations: 117.9 kB / 0.7376 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.01232, allocations: 4 kB / 0.7376 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001762/0.0125, allocations: 146.7 kB / 0.7377 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01251, allocations: 8 kB / 0.7377 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01252, allocations: 0 / 0.7377 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01253, allocations: 1.25 kB / 0.7377 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01269, allocations: 63.89 kB / 0.7378 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01269, allocations: 4 kB / 0.7378 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.01275, allocations: 17.14 kB / 0.7378 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.01277, allocations: 15.92 kB / 0.7378 GB, free: 11.95 MB / 0.7136 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 9.82e-05/0.01287, allocations: 130.4 kB / 0.7379 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.0129, allocations: 19.97 kB / 0.738 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.01306, allocations: 121.3 kB / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01307, allocations: 5.219 kB / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01307, allocations: 0 / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01307, allocations: 0 / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.01322, allocations: 146.4 kB / 0.7382 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01322, allocations: 7.938 kB / 0.7382 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.01327, allocations: 21.14 kB / 0.7382 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.01331, allocations: 47.67 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.01331, allocations: 0 / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01332, allocations: 7.031 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01333, allocations: 4 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01333, allocations: 0 / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.01345, allocations: 130.7 kB / 0.7384 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.01348, allocations: 0 / 0.7384 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.351e-05/0.01352, allocations: 11.98 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.01357, allocations: 19.97 kB / 0.7385 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01358, allocations: 0 / 0.7385 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001071/0.01368, allocations: 141.2 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01368, allocations: 0.75 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001721/0.01386, allocations: 59.92 kB / 0.7387 GB, free: 11.05 MB / 0.7136 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.001324/0.01518, allocations: 0.5643 MB / 0.7392 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.01537, allocations: 113.5 kB / 0.7393 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.01538, allocations: 5.281 kB / 0.7393 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.01545, allocations: 48.72 kB / 0.7394 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.01588, allocations: 0.5226 MB / 0.7399 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.01663, allocations: 482 kB / 0.7403 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.0167, allocations: 104.6 kB / 0.7404 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.715e-05/0.01678, allocations: 46.05 kB / 0.7405 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.01693, allocations: 111.3 kB / 0.7406 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.01693, allocations: 0 / 0.7406 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of Templates: time 0.007224/0.02415, allocations: 4.932 MB / 0.7454 GB, free: 4.535 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112474349327385]