Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001418/0.001418, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001705/0.001705, allocations: 165 kB / 23.01 MB, free: 1.551 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 1.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.191/2.191, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.969e-05/4.285e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001746/0.001789, allocations: 0.7281 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.002709, allocations: 0.8772 MB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.002746, allocations: 0 / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.002779, allocations: 5.031 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.002858, allocations: 7.922 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003023, allocations: 32.5 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.003104, allocations: 43.91 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.00343, allocations: 5.5 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.003516, allocations: 31.91 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.00357, allocations: 19.97 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.00359, allocations: 4 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.0036, allocations: 7.844 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.00362, allocations: 11.94 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.003647, allocations: 15.97 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003749, allocations: 35.83 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003752, allocations: 0 / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003753, allocations: 4 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.003759, allocations: 3.938 kB / 0.88 GB, free: 4.473 MB / 0.8386 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.0004025/0.004161, allocations: 376.5 kB / 0.8803 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.004203, allocations: 8.031 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.004244, allocations: 4.938 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.004345, allocations: 117.5 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.004369, allocations: 4.375 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.004382, allocations: 1.406 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.004523, allocations: 66.92 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.004534, allocations: 7.938 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004546, allocations: 5.125 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.004554, allocations: 0 / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.004603, allocations: 20.94 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.00496, allocations: 275.7 kB / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.005062, allocations: 52.05 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.005092, allocations: 11.72 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.005112, allocations: 0.7031 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.005136, allocations: 45.31 kB / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.005137, allocations: 3.5 kB / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.005315, allocations: 61.64 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.005345, allocations: 51.41 kB / 0.881 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.005434, allocations: 165.9 kB / 0.8812 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005445, allocations: 25.7 kB / 0.8812 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.005498, allocations: 142.8 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.005516, allocations: 7.984 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.005547, allocations: 23.38 kB / 0.8814 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.005654, allocations: 0.4884 MB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.005677, allocations: 4.812 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.005695, allocations: 8.594 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.00574, allocations: 27.61 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005742, allocations: 5.188 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.33e-05/0.005816, allocations: 49.69 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.00583, allocations: 10.34 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.005834, allocations: 1.406 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.005849, allocations: 0 / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.00593, allocations: 7.984 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005935, allocations: 4.625 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.005962, allocations: 7.953 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005968, allocations: 5.094 kB / 0.882 GB, free: 2.215 MB / 0.8386 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,intGreThr.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.785e-05/0.006036, allocations: 164.4 kB / 0.8821 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.006054, allocations: 12 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.006077, allocations: 4 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006079, allocations: 0 / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.006083, allocations: 4 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006085, allocations: 0 / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.971e-05/0.006185, allocations: 128.6 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.006187, allocations: 3.938 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.006219, allocations: 7.984 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.00622, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.006227, allocations: 4.328 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006228, allocations: 0 / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006229, allocations: 4 kB / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006347, allocations: 207.8 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.006358, allocations: 11.88 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.006368, allocations: 0 / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.006409, allocations: 8 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.006461, allocations: 15.97 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006464, allocations: 0 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.006497, allocations: 127.1 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006497, allocations: 0 / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001443/0.006642, allocations: 8 kB / 0.8827 GB, free: 1.453 MB / 0.8386 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 (intGreThr.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.368e-05/0.006725, allocations: 107.2 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/0.006816, allocations: 23.67 kB / 0.8828 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006818, allocations: 0 / 0.8828 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.006851, allocations: 27.62 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.007048, allocations: 11.92 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.00734, allocations: 126.4 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.007378, allocations: 63.34 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.007404, allocations: 4 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.007446, allocations: 16.48 kB / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/0.007446, allocations: 0 / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of Templates: time 0.002535/0.009981, allocations: 0.9666 MB / 0.884 GB, free: 60 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.734218647703528]