Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001716/0.001716, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001533/0.001533, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.36 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3824, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002516/0.3849, allocations: 0.8722 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3862, allocations: 0.8741 MB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3864, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.3866, allocations: 11.88 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.3867, allocations: 11.91 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3869, allocations: 23.98 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.387, allocations: 71.78 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3872, allocations: 27.98 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.3873, allocations: 23.86 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.3874, allocations: 35.78 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3874, allocations: 4 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.3874, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.3875, allocations: 15.98 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.3875, allocations: 19.81 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.3876, allocations: 83.95 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3876, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3877, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.3877, allocations: 0 / 1.07 GB, free: 8.797 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.0006253/0.3883, allocations: 387.1 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.3884, allocations: 12.03 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.3884, allocations: 12.84 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3887, allocations: 204.1 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3887, allocations: 4.375 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3887, allocations: 4.375 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3889, allocations: 62.23 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3889, allocations: 192 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3889, allocations: 3.938 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3889, allocations: 3.938 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3891, allocations: 35.97 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3896, allocations: 312.9 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3898, allocations: 50.48 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.3898, allocations: 20.92 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3899, allocations: 3.938 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3899, allocations: 38.64 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3899, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002817/0.3902, allocations: 81.5 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3903, allocations: 51.41 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3904, allocations: 135.3 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3904, allocations: 29.7 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.3905, allocations: 100.1 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3905, allocations: 11.91 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.3905, allocations: 13.72 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3907, allocations: 322.8 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.3907, allocations: 12 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.3908, allocations: 15.98 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.3909, allocations: 36.84 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3909, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000157/0.3911, allocations: 69.52 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3911, allocations: 8 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3911, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3911, allocations: 3.938 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.3912, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3912, allocations: 3.984 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.3913, allocations: 8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3913, allocations: 7.984 kB / 1.072 GB, free: 6.543 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.473e-05/0.3914, allocations: 119.5 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3915, allocations: 3.906 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.3915, allocations: 12.25 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3915, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3915, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3915, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3917, allocations: 185.6 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3917, allocations: 4 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3918, allocations: 3.984 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3918, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3918, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3918, allocations: 7.938 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3918, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.392, allocations: 159.4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.3921, allocations: 85.02 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3921, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3922, allocations: 7.984 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3923, allocations: 11.98 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3923, allocations: 3.984 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.268e-05/0.3924, allocations: 104.6 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3924, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002597/0.3927, allocations: 15.94 kB / 1.072 GB, free: 5.727 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.000164/0.3928, allocations: 106.2 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.393, allocations: 43.89 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.393, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.703e-05/0.3931, allocations: 12 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3934, allocations: 19.92 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.3938, allocations: 188.2 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3941, allocations: 0.6926 MB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.3942, allocations: 0 / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.3942, allocations: 19.38 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3942, allocations: 0 / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of Templates: time 0.003224/0.3975, allocations: 0.725 MB / 1.074 GB, free: 3.875 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1)