Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001373/0.001373, allocations: 81.95 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.001156/0.001156, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.935/1.935, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.777e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001696/0.001724, allocations: 0.8245 MB / 0.8137 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.002665, allocations: 0.9215 MB / 0.8146 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.002744, allocations: 5.406 kB / 0.8146 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.00287, allocations: 19.8 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.002904, allocations: 12.72 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.003077, allocations: 31.84 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003177, allocations: 80.33 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.00328, allocations: 23.92 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.003403, allocations: 48.52 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.00346, allocations: 20.83 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.003474, allocations: 4 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.003512, allocations: 12 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.003529, allocations: 12.62 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.003549, allocations: 20.8 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.003654, allocations: 51.77 kB / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003656, allocations: 0 / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003657, allocations: 1.25 kB / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.003662, allocations: 0 / 0.8149 GB, free: 15.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003621/0.004024, allocations: 405.8 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.004057, allocations: 8.031 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.004161, allocations: 24.88 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.004305, allocations: 153.8 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.004313, allocations: 4.312 kB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.004324, allocations: 12.38 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.004412, allocations: 68.31 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.004418, allocations: 192 / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.004425, allocations: 384 / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.00443, allocations: 384 / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.004457, allocations: 12.59 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.004719, allocations: 277.3 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.004804, allocations: 51.06 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.004821, allocations: 12.38 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.004833, allocations: 5.953 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.004852, allocations: 37.33 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004853, allocations: 0 / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001277/0.004981, allocations: 53.72 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.005006, allocations: 51.41 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.005087, allocations: 192.8 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.005102, allocations: 33.64 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.005157, allocations: 151.5 kB / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.00517, allocations: 3.953 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.005198, allocations: 20.69 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.005315, allocations: 0.4923 MB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.005327, allocations: 0 / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.00534, allocations: 8.625 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.005374, allocations: 19.67 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005376, allocations: 1.125 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.658e-05/0.005443, allocations: 53.58 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.005454, allocations: 4 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005459, allocations: 0.75 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.005467, allocations: 4 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.953e-05/0.005506, allocations: 4.656 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-06/0.005508, allocations: 0 / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.005534, allocations: 9.266 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.005538, allocations: 4 kB / 0.817 GB, free: 13 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.702e-05/0.005605, allocations: 158.5 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.005624, allocations: 11.89 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.005647, allocations: 12.34 kB / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.005648, allocations: 3.938 kB / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005649, allocations: 0 / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.005651, allocations: 1.344 kB / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.005754, allocations: 109.2 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005755, allocations: 4 kB / 0.8173 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.005773, allocations: 4.953 kB / 0.8173 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005774, allocations: 0 / 0.8173 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.00578, allocations: 4 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.005781, allocations: 6.25 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005782, allocations: 0 / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.005891, allocations: 195.8 kB / 0.8175 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.005901, allocations: 8 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.005916, allocations: 3.984 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.005954, allocations: 7.938 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.005991, allocations: 11.42 kB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.005995, allocations: 384 / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.006046, allocations: 148.5 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006046, allocations: 0 / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001446/0.006191, allocations: 15.89 kB / 0.8177 GB, free: 12.26 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 0.0001045/0.006295, allocations: 101.6 kB / 0.8178 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.006372, allocations: 23.61 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006373, allocations: 0 / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.006394, allocations: 16.38 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.006588, allocations: 12.48 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.006995, allocations: 176.5 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.007027, allocations: 59.34 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.007056, allocations: 4.562 kB / 0.818 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.007112, allocations: 79 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.007113, allocations: 0 / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002621/0.009734, allocations: 1.016 MB / 0.8191 GB, free: 10.76 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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.286738803144544]