Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.001401/0.001401, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001579/0.001579, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.488/1.488, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.915/2.915, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.744e-05, allocations: 8.188 kB / 1 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001996/0.002034, allocations: 0.766 MB / 1.001 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.003296, allocations: 0.8782 MB / 1.002 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.00336, allocations: 4 kB / 1.002 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.003395, allocations: 11.86 kB / 1.002 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.003494, allocations: 11.88 kB / 1.002 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.003677, allocations: 39.88 kB / 1.002 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.003816, allocations: 91.67 kB / 1.002 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.003936, allocations: 19.97 kB / 1.002 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.004065, allocations: 51.91 kB / 1.002 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.004154, allocations: 39.94 kB / 1.002 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.004182, allocations: 8 kB / 1.002 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.004201, allocations: 8 kB / 1.002 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.00423, allocations: 15.92 kB / 1.002 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.004277, allocations: 31.84 kB / 1.002 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.004435, allocations: 91.7 kB / 1.002 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004439, allocations: 4 kB / 1.002 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004439, allocations: 0 / 1.002 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.004445, allocations: 0 / 1.002 GB, free: 4.098 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006866/0.005132, allocations: 322.1 kB / 1.002 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.00517, allocations: 8.031 kB / 1.002 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.005218, allocations: 8.891 kB / 1.002 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.005377, allocations: 121.7 kB / 1.003 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.005397, allocations: 4.375 kB / 1.003 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.005416, allocations: 8.312 kB / 1.003 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.005757, allocations: 106.2 kB / 1.003 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.005769, allocations: 3.938 kB / 1.003 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.005786, allocations: 11.94 kB / 1.003 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.005793, allocations: 4 kB / 1.003 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.006182, allocations: 91.91 kB / 1.003 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.006725, allocations: 264.3 kB / 1.003 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.007385, allocations: 122.6 kB / 1.003 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.007647, allocations: 48.81 kB / 1.003 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.007668, allocations: 0 / 1.003 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.007701, allocations: 34.56 kB / 1.003 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.007702, allocations: 0 / 1.003 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0007416/0.008443, allocations: 193.4 kB / 1.003 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.008491, allocations: 55.41 kB / 1.004 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.00861, allocations: 125.8 kB / 1.004 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.008634, allocations: 29.7 kB / 1.004 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.0087, allocations: 92.08 kB / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.008727, allocations: 15.86 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.008784, allocations: 25.7 kB / 1.004 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.008928, allocations: 322.8 kB / 1.004 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.009128, allocations: 47.95 kB / 1.004 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.009316, allocations: 47.95 kB / 1.004 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.009687, allocations: 100.7 kB / 1.004 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009688, allocations: 0 / 1.004 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004481/0.01014, allocations: 137.5 kB / 1.004 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01015, allocations: 4 kB / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01016, allocations: 0 / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01017, allocations: 4 kB / 1.004 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.01034, allocations: 19.97 kB / 1.004 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01035, allocations: 4 kB / 1.004 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01048, allocations: 19.91 kB / 1.004 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01049, allocations: 7.938 kB / 1.004 GB, free: 1.562 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001094/0.01059, allocations: 123 kB / 1.005 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.01063, allocations: 11.89 kB / 1.005 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.01066, allocations: 8.438 kB / 1.005 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01066, allocations: 0 / 1.005 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.01067, allocations: 7.984 kB / 1.005 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01067, allocations: 0 / 1.005 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01086, allocations: 133.2 kB / 1.005 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01086, allocations: 0 / 1.005 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.01103, allocations: 23.97 kB / 1.005 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01103, allocations: 4 kB / 1.005 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01104, allocations: 0 / 1.005 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01104, allocations: 0 / 1.005 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01104, allocations: 0 / 1.005 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.01155, allocations: 239.9 kB / 1.005 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.01157, allocations: 7.953 kB / 1.005 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.01159, allocations: 0 / 1.005 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.01175, allocations: 27.91 kB / 1.005 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.01184, allocations: 23.97 kB / 1.005 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01185, allocations: 0 / 1.005 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.01191, allocations: 95.27 kB / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.01191, allocations: 0 / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002566/0.01217, allocations: 16 kB / 1.005 GB, free: 0.7969 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000132/0.0123, allocations: 97.81 kB / 1.005 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.01275, allocations: 104 kB / 1.005 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01276, allocations: 0 / 1.005 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.01298, allocations: 67.88 kB / 1.005 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.01332, allocations: 15.94 kB / 1.005 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.01384, allocations: 173.4 kB / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.01392, allocations: 79.33 kB / 1.006 GB, free: 220 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.538e-05/0.01399, allocations: 12 kB / 1.006 GB, free: 208 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.01406, allocations: 16.48 kB / 1.006 GB, free: 192 kB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/0.01406, allocations: 0 / 1.006 GB, free: 192 kB / 0.9044 GB Notification: Performance of Templates: time 0.004894/0.01895, allocations: 1.725 MB / 1.007 GB, free: 14.48 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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: 8.458672545850277]