Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001148/0.001148, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001267/0.001267, allocations: 181.3 kB / 24.09 MB, free: 416 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.9802/0.9802, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.755/1.755, allocations: 359 MB / 0.6055 GB, free: 10.9 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.316e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001448/0.001471, allocations: 0.7122 MB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.002379, allocations: 0.8871 MB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.002423, allocations: 0 / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.002455, allocations: 4.562 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.002527, allocations: 5.344 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.002655, allocations: 27.91 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.002721, allocations: 43.86 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.002803, allocations: 15.97 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.002881, allocations: 24.83 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.00293, allocations: 19.91 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.002948, allocations: 4.562 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002957, allocations: 4.906 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.002974, allocations: 11.98 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.002998, allocations: 19.92 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.446e-05/0.003072, allocations: 36.48 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.003074, allocations: 0 / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.003075, allocations: 5.234 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.003078, allocations: 0 / 0.7893 GB, free: 10.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000332/0.00341, allocations: 368.6 kB / 0.7897 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.003453, allocations: 9.656 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.003487, allocations: 12.89 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.889e-05/0.003556, allocations: 116.5 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.003571, allocations: 4.375 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.003578, allocations: 1.594 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.003694, allocations: 70.86 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.003704, allocations: 3.938 kB / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.003712, allocations: 4.688 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.003717, allocations: 1.594 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.003747, allocations: 11.98 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.003992, allocations: 260.3 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.004061, allocations: 47.73 kB / 0.7902 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.00408, allocations: 15.73 kB / 0.7902 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.004096, allocations: 11.39 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.004116, allocations: 45.38 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004117, allocations: 0 / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001208/0.004238, allocations: 49.72 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.004263, allocations: 59.34 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.00433, allocations: 173.8 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.00434, allocations: 25.7 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.00439, allocations: 130.9 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.004402, allocations: 4.672 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.004433, allocations: 31.34 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.004531, allocations: 497.8 kB / 0.7912 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.004546, allocations: 7.984 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.004557, allocations: 4 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.004589, allocations: 23.67 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004591, allocations: 0.5938 kB / 0.7913 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.774e-05/0.004649, allocations: 54.89 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.004658, allocations: 8 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.004662, allocations: 0 / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.004671, allocations: 0 / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.004729, allocations: 12.55 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.004732, allocations: 1.344 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.004756, allocations: 4 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.004761, allocations: 7.938 kB / 0.7913 GB, free: 8.164 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.994e-05/0.004821, allocations: 153.9 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.004837, allocations: 11.89 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.004857, allocations: 8 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.00486, allocations: 8.609 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004861, allocations: 0 / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004864, allocations: 1.438 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.004955, allocations: 105.2 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004956, allocations: 0 / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.004979, allocations: 4 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.004981, allocations: 1.156 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.004988, allocations: 11.94 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.004989, allocations: 3.984 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00499, allocations: 0.5312 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.00509, allocations: 192.4 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.005099, allocations: 8.766 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.005108, allocations: 11.94 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.005145, allocations: 4.797 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.005182, allocations: 12.36 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.005186, allocations: 4 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.005222, allocations: 131.7 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005222, allocations: 1.375 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001397/0.005362, allocations: 4 kB / 0.792 GB, free: 7.449 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.797e-05/0.00543, allocations: 100.4 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.872e-05/0.005499, allocations: 31.61 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.0055, allocations: 4 kB / 0.7921 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.005525, allocations: 20.45 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.005685, allocations: 4.812 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.005901, allocations: 135.1 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.005932, allocations: 55.36 kB / 0.7923 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.005957, allocations: 6.219 kB / 0.7923 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.006012, allocations: 78.19 kB / 0.7924 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.006012, allocations: 6.312 kB / 0.7924 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.002229/0.008241, allocations: 1.041 MB / 0.7934 GB, free: 5.953 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.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: 4.940259251743555]