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.001594/0.001594, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.05 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002459/0.3739, allocations: 0.8131 MB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.375, allocations: 0.88 MB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3751, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3753, allocations: 15.88 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.3753, allocations: 15.86 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.3755, allocations: 27.91 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3756, allocations: 67.84 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3758, allocations: 35.92 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.3759, allocations: 31.86 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.376, allocations: 39.77 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.376, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.376, allocations: 8 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.3761, allocations: 7.938 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.3761, allocations: 35.8 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3762, allocations: 72.02 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3763, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3763, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.3763, allocations: 4 kB / 1.07 GB, free: 8.43 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.0005761/0.3769, allocations: 387.1 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3769, allocations: 8.031 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.377, allocations: 12.83 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3772, allocations: 197 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3772, allocations: 8.375 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3772, allocations: 8.312 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3774, allocations: 66.17 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3774, allocations: 192 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3774, allocations: 7.938 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3774, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3776, allocations: 31.98 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.3781, allocations: 324.7 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3783, allocations: 42.56 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.3784, allocations: 25.03 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3784, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3784, allocations: 30.56 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3784, allocations: 8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002917/0.3787, allocations: 69.58 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.3788, allocations: 55.39 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.379, allocations: 139.8 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.379, allocations: 29.7 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.3791, allocations: 96.08 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.3791, allocations: 3.906 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.3792, allocations: 25.7 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3793, allocations: 326.8 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.3794, allocations: 15.94 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.3794, allocations: 15.98 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.3795, allocations: 28.78 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3795, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001605/0.3797, allocations: 69.86 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3797, allocations: 8 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3797, allocations: 48 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3798, allocations: 3.984 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.3798, allocations: 4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3799, allocations: 7.922 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.3799, allocations: 11.98 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.38, allocations: 0 / 1.072 GB, free: 6.18 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.316e-05/0.3801, allocations: 118.3 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3801, allocations: 11.91 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.3801, allocations: 12.23 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3801, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3802, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3802, allocations: 3.938 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3804, allocations: 181.6 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3804, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.3804, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3804, allocations: 3.984 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3804, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.3804, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3805, allocations: 8 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3806, allocations: 163.3 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.3807, allocations: 85.02 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3807, allocations: 4 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3808, allocations: 11.98 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3809, allocations: 7.984 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3809, allocations: 4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.381, allocations: 100.7 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.381, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002297/0.3812, allocations: 11.94 kB / 1.073 GB, free: 5.359 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.0001625/0.3814, allocations: 107.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3816, allocations: 31.98 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3816, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-05/0.3816, allocations: 27.92 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.382, allocations: 11.88 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.3824, allocations: 174.5 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3827, allocations: 0.6924 MB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.3827, allocations: 7.984 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.3828, allocations: 15.38 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3828, allocations: 0 / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.003358/0.3861, allocations: 0.8546 MB / 1.075 GB, free: 3.395 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)