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.0008888/0.0008888, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.000948/0.000948, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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.919/0.919, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.794/1.794, allocations: 359 MB / 0.6052 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.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.655e-06/2.655e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.517e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001227/0.001252, allocations: 0.7122 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.002079, allocations: 0.887 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.002117, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.00215, allocations: 3.938 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.002236, allocations: 4.625 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.002404, allocations: 29.27 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.002489, allocations: 43.84 kB / 0.7888 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.002595, allocations: 15.97 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.002681, allocations: 27.98 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.002736, allocations: 16.77 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.002768, allocations: 4 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.00278, allocations: 4.562 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.002802, allocations: 15.97 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.002833, allocations: 16.61 kB / 0.7889 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.002937, allocations: 35.83 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002939, allocations: 4.906 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00294, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.002944, allocations: 0.6562 kB / 0.7889 GB, free: 10.68 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.0004027/0.003347, allocations: 369.3 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.003386, allocations: 8.031 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.003431, allocations: 14.55 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.003532, allocations: 120.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.003556, allocations: 4.375 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.003568, allocations: 384 / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.003703, allocations: 68.28 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00371, allocations: 3.938 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.003721, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.003727, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.003774, allocations: 21.52 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.004117, allocations: 279.7 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.004213, allocations: 54.97 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.004241, allocations: 16.34 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.004256, allocations: 11.38 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004278, allocations: 33.39 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.004279, allocations: 0 / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001683/0.004447, allocations: 57.72 kB / 0.7899 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.004477, allocations: 51.41 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/0.004554, allocations: 177.9 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.004564, allocations: 25.7 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.00461, allocations: 130.9 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.004629, allocations: 8.484 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.00466, allocations: 27.36 kB / 0.7903 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.004778, allocations: 496.7 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.0048, allocations: 4.875 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.004816, allocations: 11.92 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.004904, allocations: 20.5 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.004908, allocations: 3.938 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.609e-05/0.004984, allocations: 58.16 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.004996, allocations: 9.375 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005002, allocations: 4 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.005014, allocations: 0 / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.005091, allocations: 8 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.005096, allocations: 1.156 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.005123, allocations: 11.92 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.005128, allocations: 7.938 kB / 0.7909 GB, free: 8.406 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 6.778e-05/0.005196, allocations: 157.5 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.005212, allocations: 8.641 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.005237, allocations: 8 kB / 0.7911 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.005241, allocations: 5.234 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005244, allocations: 4 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.005249, allocations: 3.984 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.579e-05/0.005345, allocations: 121.3 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.005346, allocations: 3.938 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.005374, allocations: 6.312 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005376, allocations: 4 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.005386, allocations: 7.984 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005387, allocations: 0 / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005387, allocations: 0 / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.005504, allocations: 199.2 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.005514, allocations: 15.83 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005524, allocations: 0 / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.005562, allocations: 7.984 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.005614, allocations: 11.98 kB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.005618, allocations: 0 / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.00566, allocations: 131.2 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00566, allocations: 4 kB / 0.7916 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001384/0.005798, allocations: 4 kB / 0.7916 GB, free: 7.66 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.941e-05/0.005867, allocations: 96.28 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.29e-05/0.00596, allocations: 28.17 kB / 0.7917 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.005962, allocations: 4.562 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.005993, allocations: 23.61 kB / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.006189, allocations: 13.69 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.00646, allocations: 130.2 kB / 0.7919 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.657e-05/0.006497, allocations: 56.11 kB / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.006525, allocations: 9.297 kB / 0.7919 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.006563, allocations: 17.78 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.006564, allocations: 0 / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002517/0.00908, allocations: 1.023 MB / 0.793 GB, free: 6.242 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.748058245982975]