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.001382/0.001382, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001688/0.001688, 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.9711/0.9711, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.934/1.934, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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 3.216e-06/3.216e-06, allocations: 0 / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.375e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001478/0.001512, allocations: 0.7152 MB / 0.8122 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.002434, allocations: 0.8826 MB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.002473, allocations: 0 / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002502, allocations: 9.141 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.002578, allocations: 0 / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.002733, allocations: 23.86 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.002811, allocations: 56.36 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.002919, allocations: 6.406 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-05/0.003009, allocations: 27.97 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.003065, allocations: 23.91 kB / 0.8132 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.003087, allocations: 4 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.003096, allocations: 4 kB / 0.8132 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.003116, allocations: 11.98 kB / 0.8133 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.003141, allocations: 7.938 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.003229, allocations: 41.28 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.003233, allocations: 0 / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003233, allocations: 0 / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003238, allocations: 0 / 0.8133 GB, free: 236 kB / 0.7605 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.0003935/0.003631, allocations: 374 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.003667, allocations: 8.031 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.003711, allocations: 12.89 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.003822, allocations: 113.1 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.003841, allocations: 384 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.003851, allocations: 5.469 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.003984, allocations: 66.92 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.003992, allocations: 8.469 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004004, allocations: 8 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.00401, allocations: 0.5312 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.004055, allocations: 13.36 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.004376, allocations: 287.6 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.004474, allocations: 52.14 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.004503, allocations: 15.75 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.004516, allocations: 0 / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.004536, allocations: 38.33 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.004538, allocations: 0 / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001729/0.00471, allocations: 66.52 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.004738, allocations: 51.41 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.004812, allocations: 174.9 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004823, allocations: 25.7 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.004871, allocations: 138.9 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.004888, allocations: 5.234 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.004918, allocations: 23.38 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.005043, allocations: 0.4884 MB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.005067, allocations: 7.062 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.005085, allocations: 11.98 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.00513, allocations: 23.62 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.005133, allocations: 3.938 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.825e-05/0.005211, allocations: 53.64 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.005224, allocations: 4 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005229, allocations: 4 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005241, allocations: 0.5 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.005321, allocations: 7.984 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.005326, allocations: 1.938 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.005354, allocations: 8 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.005361, allocations: 7.984 kB / 0.8153 GB, free: 13.96 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 6.721e-05/0.005429, allocations: 156.5 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.005448, allocations: 13.58 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.005469, allocations: 4 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005471, allocations: 3.938 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.005474, allocations: 3.938 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005478, allocations: 0.9688 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005581, allocations: 128.6 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005582, allocations: 3.938 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.005617, allocations: 8.516 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005619, allocations: 0.8438 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.005627, allocations: 4 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005628, allocations: 0.8438 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005629, allocations: 0 / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.006039, allocations: 197.2 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.006052, allocations: 15.83 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.006063, allocations: 0 / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.006109, allocations: 11.98 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.006159, allocations: 12.83 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006163, allocations: 0 / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.006198, allocations: 128.1 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006198, allocations: 0 / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001474/0.006346, allocations: 8 kB / 0.816 GB, free: 13.21 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.624e-05/0.006442, allocations: 105.1 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.006541, allocations: 28.59 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006543, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.006578, allocations: 27.67 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.006773, allocations: 15.06 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.007071, allocations: 131.5 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.007105, allocations: 55.36 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.007133, allocations: 6.281 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.007173, allocations: 16.48 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.007174, allocations: 0.5 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.002719/0.009893, allocations: 0.9764 MB / 0.8173 GB, free: 11.84 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.27937757386826]