Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 108 kB / 15.6 MB, free: 132 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.001521/0.001522, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001935, allocations: 69.55 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4588, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002173/0.461, allocations: 0.7048 MB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4621, allocations: 0.8372 MB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.4622, allocations: 4 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.4622, allocations: 3.984 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.4623, allocations: 3.938 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.4625, allocations: 19.92 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.4626, allocations: 55.83 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.4628, allocations: 12 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.4629, allocations: 19.92 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.463, allocations: 27.91 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.463, allocations: 4 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.463, allocations: 4 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.4631, allocations: 11.98 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.4631, allocations: 23.86 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4633, allocations: 47.84 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4633, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4633, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4633, allocations: 0 / 1.07 GB, free: 8.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006825/0.464, allocations: 359.7 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.464, allocations: 8.031 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.4641, allocations: 8.844 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4643, allocations: 168.3 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4643, allocations: 384 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4643, allocations: 4.375 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.4645, allocations: 69.77 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4646, allocations: 3.984 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4646, allocations: 4 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4646, allocations: 8 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.4648, allocations: 47.94 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.4653, allocations: 296.6 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.4656, allocations: 70.47 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.4657, allocations: 28.92 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4657, allocations: 11.98 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4657, allocations: 30.56 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.4658, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004522/0.4662, allocations: 109.6 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.4663, allocations: 55.41 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.4664, allocations: 109.8 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4664, allocations: 25.7 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.4665, allocations: 88.05 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.4665, allocations: 11.91 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.4665, allocations: 17.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4667, allocations: 318.8 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4668, allocations: 27.97 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4669, allocations: 23.97 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.4671, allocations: 52.77 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4671, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002381/0.4673, allocations: 89.55 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4674, allocations: 8 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4674, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4674, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4675, allocations: 11.98 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4675, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.4676, allocations: 7.984 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4676, allocations: 4 kB / 1.072 GB, free: 6.336 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: 2 (reaToInt.y,intGreThr.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.164e-05/0.4677, allocations: 114.3 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.4678, allocations: 7.984 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.4678, allocations: 11.91 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4678, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4678, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4678, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.468, allocations: 181.5 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.468, allocations: 3.938 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.4681, allocations: 11.98 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4681, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4681, allocations: 3.938 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4681, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4681, allocations: 4 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.4684, allocations: 187.7 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.4685, allocations: 77.11 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4685, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4686, allocations: 7.984 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.4687, allocations: 15.92 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4687, allocations: 8 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.4687, allocations: 87.27 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.4687, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000219/0.469, allocations: 8 kB / 1.073 GB, free: 5.516 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001258/0.4691, allocations: 107.1 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.4694, allocations: 51.95 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4694, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4695, allocations: 35.97 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4698, allocations: 9.703 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.4702, allocations: 137.3 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4706, allocations: 0.6846 MB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.4706, allocations: 3.984 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.4707, allocations: 15.44 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.4707, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.003401/0.4741, allocations: 0.8859 MB / 1.074 GB, free: 3.531 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)