Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001325/0.001325, 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.001586/0.001586, allocations: 192.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.722/1.722, allocations: 251.7 MB / 0.5092 GB, free: 3.086 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.91 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7179, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003704/0.7217, allocations: 1.402 MB / 0.7259 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004496/0.7221, allocations: 156.3 kB / 0.7261 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.7222, allocations: 4 kB / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.7222, allocations: 3.938 kB / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.7224, allocations: 3.938 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.7226, allocations: 19.97 kB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.7227, allocations: 51.84 kB / 0.7261 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.7229, allocations: 15.98 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.723, allocations: 23.86 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.7231, allocations: 23.92 kB / 0.7262 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.7231, allocations: 4 kB / 0.7262 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.7231, allocations: 4 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.7232, allocations: 11.97 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.7232, allocations: 19.88 kB / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.7234, allocations: 47.84 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.7234, allocations: 0 / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7234, allocations: 0 / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.7234, allocations: 8 kB / 0.7263 GB, free: 11.1 MB / 0.545 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.0008026/0.7243, allocations: 357.4 kB / 0.7266 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.7243, allocations: 8.031 kB / 0.7266 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.7244, allocations: 4.844 kB / 0.7266 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.7246, allocations: 172.4 kB / 0.7268 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7246, allocations: 4.375 kB / 0.7268 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.7246, allocations: 4.375 kB / 0.7268 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.7249, allocations: 74.16 kB / 0.7269 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7249, allocations: 192 / 0.7269 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.7249, allocations: 3.938 kB / 0.7269 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.7249, allocations: 0 / 0.7269 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.7252, allocations: 51.89 kB / 0.7269 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.7258, allocations: 292.7 kB / 0.7272 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.726, allocations: 66.48 kB / 0.7273 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.7261, allocations: 32.91 kB / 0.7273 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.7262, allocations: 8.062 kB / 0.7273 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7262, allocations: 30.56 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.7262, allocations: 3.938 kB / 0.7273 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0005549/0.7268, allocations: 105.6 kB / 0.7274 GB, free: 9.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.7268, allocations: 51.41 kB / 0.7275 GB, free: 9.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.727, allocations: 109.8 kB / 0.7276 GB, free: 9.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.727, allocations: 29.64 kB / 0.7276 GB, free: 9.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.7271, allocations: 99.97 kB / 0.7277 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.7271, allocations: 3.906 kB / 0.7277 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.7272, allocations: 21.72 kB / 0.7277 GB, free: 9.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.7274, allocations: 318.8 kB / 0.7281 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7275, allocations: 19.98 kB / 0.7281 GB, free: 9.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.7276, allocations: 23.97 kB / 0.7281 GB, free: 9.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.7278, allocations: 57.03 kB / 0.7281 GB, free: 8.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7278, allocations: 0 / 0.7281 GB, free: 8.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002592/0.7281, allocations: 89.62 kB / 0.7282 GB, free: 8.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.7281, allocations: 6.031 kB / 0.7282 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7282, allocations: 0 / 0.7282 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.7282, allocations: 4 kB / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.7283, allocations: 15.92 kB / 0.7283 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.7284, allocations: 0 / 0.7283 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.7284, allocations: 7.984 kB / 0.7283 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.7285, allocations: 8 kB / 0.7283 GB, free: 8.832 MB / 0.545 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 0.0001029/0.7286, allocations: 117.8 kB / 0.7284 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.7286, allocations: 3.906 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.7286, allocations: 11.91 kB / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.7287, allocations: 0 / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7287, allocations: 0 / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.7287, allocations: 0 / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.7289, allocations: 177.6 kB / 0.7286 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7289, allocations: 0 / 0.7286 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.729, allocations: 11.98 kB / 0.7286 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7291, allocations: 4 kB / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.7291, allocations: 0 / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7291, allocations: 0 / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7291, allocations: 3.938 kB / 0.7286 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.7294, allocations: 191.3 kB / 0.7288 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.7295, allocations: 85.09 kB / 0.7289 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.7295, allocations: 7.938 kB / 0.7289 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.7296, allocations: 4 kB / 0.7289 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.7297, allocations: 11.98 kB / 0.7289 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.7297, allocations: 3.984 kB / 0.7289 GB, free: 8.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.583e-05/0.7298, allocations: 87.28 kB / 0.729 GB, free: 8.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7298, allocations: 0 / 0.729 GB, free: 8.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002318/0.73, allocations: 8 kB / 0.729 GB, free: 8.016 MB / 0.545 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.0001716/0.7302, allocations: 99.19 kB / 0.7291 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.7305, allocations: 67.88 kB / 0.7291 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7305, allocations: 0 / 0.7291 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.7307, allocations: 27.97 kB / 0.7292 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.731, allocations: 10 kB / 0.7292 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.7318, allocations: 141.5 kB / 0.7293 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.7324, allocations: 0.6845 MB / 0.73 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.7325, allocations: 4 kB / 0.73 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.7325, allocations: 11.44 kB / 0.73 GB, free: 6.918 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.7326, allocations: 0 / 0.73 GB, free: 6.918 MB / 0.545 GB Notification: Performance of Templates: time 0.005006/0.7376, allocations: 0.8822 MB / 0.7308 GB, free: 6.039 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)