Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008872/0.0008873, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00907/0.009071, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006779/0.0006782, allocations: 16.69 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3983, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001095/0.3994, allocations: 0.5334 MB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4006, allocations: 0.8778 MB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.4007, allocations: 8 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.4009, allocations: 11.88 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.4009, allocations: 7.922 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.4011, allocations: 23.98 kB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.4012, allocations: 71.77 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.4014, allocations: 31.97 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4015, allocations: 19.88 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.4016, allocations: 27.84 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4016, allocations: 0 / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.4016, allocations: 4 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.4016, allocations: 7.922 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.4017, allocations: 57.5 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4018, allocations: 72.02 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4018, allocations: 0 / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4018, allocations: 0 / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4018, allocations: 0 / 1.076 GB, free: 5.785 MB / 0.8262 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.0005533/0.4024, allocations: 379.2 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4025, allocations: 8.031 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.4025, allocations: 12.84 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4028, allocations: 201.5 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4028, allocations: 8.375 kB / 1.076 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.4028, allocations: 4.312 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.403, allocations: 66.23 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.403, allocations: 192 / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.403, allocations: 3.938 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4031, allocations: 0 / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4032, allocations: 47.91 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.4038, allocations: 320.7 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.4039, allocations: 62.58 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.404, allocations: 16.92 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.404, allocations: 0 / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4041, allocations: 42.64 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4041, allocations: 0 / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002687/0.4043, allocations: 77.52 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4044, allocations: 51.41 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4045, allocations: 139.2 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4045, allocations: 29.7 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.4046, allocations: 108 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.4046, allocations: 7.906 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.4047, allocations: 13.72 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4048, allocations: 322.8 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.4048, allocations: 12 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.4049, allocations: 19.98 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.405, allocations: 36.84 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.405, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.4051, allocations: 69.61 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4052, allocations: 8 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4052, allocations: 0 / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4052, allocations: 0 / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.4053, allocations: 4 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.4054, allocations: 23.89 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4054, allocations: 0 / 1.078 GB, free: 3.508 MB / 0.8262 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 9.448e-05/0.4055, allocations: 121.8 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.4055, allocations: 4 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.4056, allocations: 8.578 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4056, allocations: 0 / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4056, allocations: 7.938 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4056, allocations: 7.984 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.4058, allocations: 181.6 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4058, allocations: 0 / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.4059, allocations: 7.984 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4059, allocations: 0 / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4059, allocations: 0 / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4059, allocations: 0 / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4059, allocations: 7.938 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.4061, allocations: 167.4 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.4061, allocations: 85.02 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.4062, allocations: 0 / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4063, allocations: 19.98 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.4063, allocations: 7.984 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.4063, allocations: 4 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.4064, allocations: 104.5 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4064, allocations: 0 / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002303/0.4067, allocations: 11.94 kB / 1.079 GB, free: 2.676 MB / 0.8262 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.0001627/0.4068, allocations: 99.25 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.407, allocations: 39.92 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.407, allocations: 7.938 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.4071, allocations: 19.98 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.4074, allocations: 11.94 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.4078, allocations: 192.5 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.408, allocations: 0.6926 MB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.4081, allocations: 4 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.4081, allocations: 15.38 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4081, allocations: 0 / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.003056/0.4112, allocations: 0.7111 MB / 1.08 GB, free: 0.8281 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1)