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.001273/0.001273, 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.001612/0.001613, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.561/1.561, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 68.2 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3873, 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.002302/0.3896, allocations: 0.8761 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3907, allocations: 0.8741 MB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.3908, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.391, allocations: 7.938 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.391, allocations: 11.88 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.3912, allocations: 23.98 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3913, allocations: 67.78 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3915, allocations: 35.97 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.3915, allocations: 23.86 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.3916, allocations: 31.78 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3916, allocations: 4 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3917, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.3917, allocations: 7.938 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.3917, allocations: 35.78 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3919, allocations: 71.97 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3919, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3919, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3919, allocations: 0 / 1.07 GB, free: 8.793 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.0005495/0.3925, allocations: 387.2 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3925, allocations: 12.03 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3925, allocations: 12.83 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3928, allocations: 196 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3928, allocations: 4.375 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3928, allocations: 12.38 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.393, allocations: 58.23 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.393, allocations: 192 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.393, allocations: 7.938 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.393, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3931, allocations: 35.92 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.3936, allocations: 312.8 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3938, allocations: 50.59 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.3938, allocations: 21 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3939, allocations: 0 / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3939, allocations: 34.56 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3939, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002493/0.3942, allocations: 73.58 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3942, allocations: 55.34 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3943, allocations: 139.4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3943, allocations: 29.7 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.3944, allocations: 100.1 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3944, allocations: 7.906 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3945, allocations: 21.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3946, allocations: 314.8 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.3947, allocations: 15.98 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.3948, allocations: 19.98 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.3948, allocations: 28.84 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3948, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/0.395, allocations: 73.58 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.395, allocations: 9.188 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.395, allocations: 7.875 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.395, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.3951, allocations: 4 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3951, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.3952, allocations: 12.31 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3952, allocations: 0 / 1.072 GB, free: 6.555 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 0.0001006/0.3953, allocations: 125.8 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3954, allocations: 7.906 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.3954, allocations: 16.22 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3954, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3954, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3954, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3956, allocations: 189.6 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3956, allocations: 0 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.3957, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3957, allocations: 3.984 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3957, allocations: 4 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3957, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3959, allocations: 163.3 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3959, allocations: 85.02 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.396, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3961, allocations: 11.98 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3961, allocations: 11.98 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3961, allocations: 4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.389e-05/0.3962, allocations: 101.3 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3962, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002152/0.3965, allocations: 11.94 kB / 1.072 GB, free: 5.73 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.0001525/0.3966, allocations: 103.2 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3968, allocations: 35.92 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3968, allocations: 4 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.3968, allocations: 19.98 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.0002998/0.3971, allocations: 11.94 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.3975, allocations: 184.2 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3978, allocations: 0.6926 MB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.3979, allocations: 3.984 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.3979, allocations: 11.44 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3979, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of Templates: time 0.00305/0.4009, allocations: 0.7354 MB / 1.074 GB, free: 3.883 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)