Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001173/0.001173, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001577/0.001577, 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.9727/0.9727, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.813/1.813, allocations: 359 MB / 0.6055 GB, free: 11 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.989e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001528/0.001558, allocations: 0.7131 MB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.002409, allocations: 0.875 MB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.002457, allocations: 0.5625 kB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.002489, allocations: 11.86 kB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.002578, allocations: 8.625 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.002737, allocations: 28.81 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.002825, allocations: 39.91 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.002931, allocations: 8.656 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.003022, allocations: 31.91 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.003078, allocations: 23.41 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.003103, allocations: 4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-06/0.003112, allocations: 4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.003136, allocations: 15.92 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.003163, allocations: 8 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.00326, allocations: 43.75 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003262, allocations: 0 / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.003264, allocations: 4 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.003269, allocations: 0 / 0.7889 GB, free: 10.98 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.0004324/0.003702, allocations: 369.3 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001154/0.003817, allocations: 8.031 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.003862, allocations: 18.55 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.003971, allocations: 108.6 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.003995, allocations: 384 / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004006, allocations: 4.375 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.004152, allocations: 76.19 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004161, allocations: 3.938 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004171, allocations: 4 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.004179, allocations: 1.594 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.004225, allocations: 15.98 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.004567, allocations: 275.7 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.004672, allocations: 56.36 kB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.004706, allocations: 19.75 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.004721, allocations: 0 / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.004746, allocations: 37.92 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.004748, allocations: 3.938 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001938/0.004942, allocations: 54.75 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.004974, allocations: 51.41 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.005072, allocations: 178.9 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.005084, allocations: 25.7 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.005143, allocations: 135.7 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.005162, allocations: 7.953 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.005197, allocations: 23.91 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.005322, allocations: 0.4884 MB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.005345, allocations: 5.375 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.005362, allocations: 7.984 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.005412, allocations: 19.97 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.005415, allocations: 5.219 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.432e-05/0.0055, allocations: 57.62 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.005514, allocations: 8 kB / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.005519, allocations: 4.594 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.005534, allocations: 0.7188 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.005618, allocations: 7.984 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.005628, allocations: 9.156 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.005657, allocations: 7.984 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.005663, allocations: 4 kB / 0.7909 GB, free: 8.715 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,intLesEquThr.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 7.189e-05/0.005735, allocations: 157.4 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.005753, allocations: 7.953 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.005776, allocations: 8.906 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005778, allocations: 0 / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.005781, allocations: 2.219 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005783, allocations: 4 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.00589, allocations: 124.7 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.005894, allocations: 7.922 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.005921, allocations: 4 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005923, allocations: 0 / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.005932, allocations: 11.19 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005932, allocations: 0 / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005933, allocations: 3.938 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006054, allocations: 203.9 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.006066, allocations: 15.83 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006076, allocations: 0 / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.006116, allocations: 7.984 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.006169, allocations: 11.98 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006172, allocations: 1.188 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.006207, allocations: 127.2 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006208, allocations: 0 / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001461/0.006354, allocations: 8.594 kB / 0.7916 GB, free: 7.965 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 (intLesEquThr.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 7.969e-05/0.006433, allocations: 99.8 kB / 0.7917 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.006536, allocations: 32.64 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006538, allocations: 4 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.00657, allocations: 20.58 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.006761, allocations: 17.03 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.007051, allocations: 130.2 kB / 0.7919 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.007086, allocations: 56.17 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.007116, allocations: 6.156 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.007152, allocations: 20.48 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.007153, allocations: 0 / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.002778/0.009931, allocations: 0.9681 MB / 0.7929 GB, free: 6.59 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.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.311906571034342]