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.001475/0.001475, 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.001008/0.001008, allocations: 169 kB / 24.28 MB, free: 276 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.9668/0.9668, allocations: 177.1 MB / 204.6 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.884/1.884, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] 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.404e-06/2.404e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.07e-05, allocations: 12.92 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001705/0.001735, allocations: 0.7135 MB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002934, allocations: 0.882 MB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.002985, allocations: 1.562 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.003017, allocations: 3.938 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.003104, allocations: 7.875 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.003269, allocations: 19.92 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003372, allocations: 54.17 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003481, allocations: 7.984 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.003576, allocations: 27.92 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.003637, allocations: 19.97 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.003664, allocations: 7.938 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.003675, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.003698, allocations: 13.86 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.003725, allocations: 11.98 kB / 0.7888 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003828, allocations: 39.83 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00383, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003831, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003835, allocations: 1.562 kB / 0.7889 GB, free: 10.95 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.0004571/0.004292, allocations: 376.6 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.004337, allocations: 8.031 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.004386, allocations: 12.89 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.004501, allocations: 113.7 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.004523, allocations: 384 / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.004538, allocations: 8.375 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.004701, allocations: 67.53 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.004711, allocations: 5 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.004724, allocations: 0 / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.004734, allocations: 4 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.004789, allocations: 14.58 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.005224, allocations: 287.6 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.005351, allocations: 54.92 kB / 0.7898 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.005389, allocations: 11.72 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.005406, allocations: 0 / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.005435, allocations: 38.11 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.005436, allocations: 0 / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002456/0.005682, allocations: 67.84 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.005726, allocations: 51.41 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.005836, allocations: 173.9 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.005849, allocations: 25.7 kB / 0.7901 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.005913, allocations: 134.9 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.005937, allocations: 4.609 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.005983, allocations: 27.36 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.006122, allocations: 493.1 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.006153, allocations: 11.98 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.006176, allocations: 9.156 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/0.006232, allocations: 23.91 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.006237, allocations: 3.938 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.006352, allocations: 66.92 kB / 0.7909 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.00637, allocations: 4 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006375, allocations: 0 / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.006393, allocations: 5.75 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.006482, allocations: 4 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.006489, allocations: 3.984 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.006525, allocations: 4 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.006533, allocations: 4.844 kB / 0.7909 GB, free: 8.684 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 7.629e-05/0.006609, allocations: 156.5 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.006637, allocations: 12.8 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.006663, allocations: 4 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006666, allocations: 5.266 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.00667, allocations: 0 / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.006673, allocations: 0 / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.006808, allocations: 124.6 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.006812, allocations: 8.781 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.006858, allocations: 7.984 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006861, allocations: 1.094 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.006869, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.006872, allocations: 4 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.006875, allocations: 9.312 kB / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.007019, allocations: 191.9 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.007033, allocations: 15.83 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.007048, allocations: 5.391 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.007112, allocations: 8 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.00717, allocations: 7.984 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007176, allocations: 6.938 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.007221, allocations: 127.2 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007222, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002291/0.007451, allocations: 8 kB / 0.7916 GB, free: 7.938 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 8.439e-05/0.007535, allocations: 99.25 kB / 0.7917 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.007655, allocations: 27.61 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007657, allocations: 0.5 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.007702, allocations: 29.61 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.007963, allocations: 11.88 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.008298, allocations: 134.2 kB / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.008341, allocations: 56.02 kB / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.008379, allocations: 11.42 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.008422, allocations: 12.5 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.008422, allocations: 0 / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of Templates: time 0.002681/0.0111, allocations: 0.9745 MB / 0.7929 GB, free: 6.555 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: 5.2557381361257285]