Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009812/0.0009812, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001011/0.001011, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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 0.9646/0.9646, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.814/1.814, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.123e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0014/0.001421, allocations: 0.7717 MB / 0.7879 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.00226, allocations: 0.9062 MB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.002311, allocations: 0 / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.002344, allocations: 9.344 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.002427, allocations: 7.875 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.002603, allocations: 47.81 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.00271, allocations: 88.81 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.002813, allocations: 15.98 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.002914, allocations: 53.45 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.002978, allocations: 35.95 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.003007, allocations: 8 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.003021, allocations: 8 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.003046, allocations: 25.45 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.003077, allocations: 23.92 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.003186, allocations: 67.72 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.00319, allocations: 4 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003191, allocations: 0 / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003195, allocations: 1.281 kB / 0.7891 GB, free: 10.73 MB / 0.7448 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.0004978/0.003693, allocations: 404.4 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.003735, allocations: 14.09 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.003786, allocations: 12.89 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.003903, allocations: 120.5 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.003928, allocations: 4.375 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.003943, allocations: 12.31 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.00412, allocations: 97.05 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.004129, allocations: 3.938 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.004143, allocations: 3.984 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.004152, allocations: 3.938 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.004221, allocations: 31.97 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.004704, allocations: 333.6 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.004992, allocations: 75.16 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.005037, allocations: 24.33 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.005057, allocations: 4 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.005078, allocations: 34.55 kB / 0.7903 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.00508, allocations: 0 / 0.7903 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002231/0.005303, allocations: 82.77 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.005333, allocations: 51.41 kB / 0.7904 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.005437, allocations: 189.8 kB / 0.7906 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.00545, allocations: 27.08 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.005512, allocations: 142.9 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.005541, allocations: 23.8 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.005578, allocations: 29.11 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.005697, allocations: 0.4883 MB / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.005731, allocations: 15.98 kB / 0.7913 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.005761, allocations: 11.98 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.005827, allocations: 45 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005829, allocations: 0 / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001093/0.005939, allocations: 74.22 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.005953, allocations: 5.188 kB / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005958, allocations: 0 / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.005973, allocations: 0 / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.006043, allocations: 19.14 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.00605, allocations: 4 kB / 0.7914 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.006088, allocations: 7.984 kB / 0.7914 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006093, allocations: 0 / 0.7914 GB, free: 8.188 MB / 0.7448 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 7.37e-05/0.006167, allocations: 172.4 kB / 0.7916 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.006187, allocations: 11.94 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.006209, allocations: 8.438 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00621, allocations: 4.5 kB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.006213, allocations: 0 / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006216, allocations: 1.938 kB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.006484, allocations: 144.5 kB / 0.7918 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006485, allocations: 4 kB / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.006531, allocations: 15.98 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006533, allocations: 0 / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.006542, allocations: 2.469 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.006546, allocations: 7.984 kB / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006546, allocations: 0 / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.006693, allocations: 227.8 kB / 0.792 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.006703, allocations: 7.891 kB / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.006717, allocations: 4 kB / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.006766, allocations: 8.719 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.006829, allocations: 24.8 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.006834, allocations: 4 kB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.006877, allocations: 136 kB / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006877, allocations: 0 / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001421/0.007019, allocations: 12 kB / 0.7922 GB, free: 7.352 MB / 0.7448 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 7.578e-05/0.007095, allocations: 104.5 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.00722, allocations: 44.5 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007221, allocations: 3.938 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.007269, allocations: 36.55 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.007455, allocations: 21.48 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.007762, allocations: 166.7 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.007799, allocations: 64.47 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.00784, allocations: 8.344 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.007888, allocations: 24.48 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.007888, allocations: 0 / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.002956/0.01084, allocations: 1.73 MB / 0.7943 GB, free: 5.133 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.145567578962073]