Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001071/0.001071, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001184/0.001184, allocations: 168 kB / 24.86 MB, free: 8.852 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.125 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.955/1.955, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.757e-05, allocations: 7.156 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001469/0.001497, allocations: 0.7156 MB / 0.8135 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008777/0.002375, allocations: 0.8792 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.002413, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.00244, allocations: 4.469 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.002514, allocations: 0.7812 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.002644, allocations: 27.84 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.002712, allocations: 52.53 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.002805, allocations: 13.58 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.002882, allocations: 23.97 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.00293, allocations: 19.92 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.002949, allocations: 4 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.002959, allocations: 4 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.002977, allocations: 9.016 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.002997, allocations: 19.92 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.003075, allocations: 32.67 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003077, allocations: 0 / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.91e-07/0.003078, allocations: 0 / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003082, allocations: 1.688 kB / 0.8145 GB, free: 15.66 MB / 0.7761 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.0003569/0.003439, allocations: 380.5 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.003473, allocations: 8.031 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.003504, allocations: 8.891 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.003597, allocations: 118.1 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.003615, allocations: 384 / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.003624, allocations: 4.375 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.003748, allocations: 68.67 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003756, allocations: 3.938 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.003763, allocations: 0 / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.003772, allocations: 3.938 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.003806, allocations: 15.92 kB / 0.8151 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.004087, allocations: 265.5 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.004166, allocations: 40.55 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.00419, allocations: 23.69 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.004203, allocations: 4 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.004227, allocations: 41.33 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004228, allocations: 2.594 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001425/0.004371, allocations: 53.86 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.0044, allocations: 51.41 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.004473, allocations: 177.8 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.004485, allocations: 25.7 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.004534, allocations: 134.8 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.004551, allocations: 8.484 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.004586, allocations: 23.38 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.004708, allocations: 0.4891 MB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.004733, allocations: 4.531 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.004747, allocations: 4 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.004786, allocations: 25.27 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004788, allocations: 0 / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.522e-05/0.004863, allocations: 57.58 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.004874, allocations: 4.594 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.004878, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.004889, allocations: 4.781 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.004959, allocations: 7.984 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.004961, allocations: 1.156 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.004987, allocations: 4 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.004992, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 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 7.468e-05/0.005067, allocations: 169.9 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.005087, allocations: 11.89 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.005109, allocations: 8 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005111, allocations: 0.5 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.005113, allocations: 1.031 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005115, allocations: 3.938 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.005217, allocations: 105.2 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.005218, allocations: 0.9062 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.005254, allocations: 11.98 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005255, allocations: 0.8438 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005261, allocations: 3.938 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.005262, allocations: 2.219 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005263, allocations: 0 / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.005384, allocations: 195.9 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.005396, allocations: 11.88 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.005407, allocations: 7.875 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.005448, allocations: 8 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.005488, allocations: 14.67 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.005491, allocations: 0 / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.005529, allocations: 127.2 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005529, allocations: 0 / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001445/0.005673, allocations: 8 kB / 0.8172 GB, free: 12.71 MB / 0.7761 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 9.601e-05/0.005769, allocations: 95.25 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.005849, allocations: 29.41 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00585, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.005883, allocations: 35.69 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.006059, allocations: 13.56 kB / 0.8174 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.006293, allocations: 131.6 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.006323, allocations: 55.34 kB / 0.8175 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.00635, allocations: 9.281 kB / 0.8175 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.006409, allocations: 78.2 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.00641, allocations: 0 / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002667/0.009077, allocations: 1.057 MB / 0.8187 GB, free: 11.19 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.366974656004459]