Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001058/0.001058, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001263/0.001263, allocations: 188.7 kB / 16.25 MB, free: 6.59 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.723/1.723, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.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.001642/0.001643, allocations: 67.84 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3396, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002343/0.342, allocations: 0.7607 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.343, allocations: 0.837 MB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.3431, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.3432, allocations: 3.984 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.3433, allocations: 11.88 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.3434, allocations: 19.92 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.3435, allocations: 43.91 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3437, allocations: 19.98 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.3438, allocations: 19.92 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.3438, allocations: 27.91 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.3439, allocations: 4 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.3439, allocations: 4 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.3439, allocations: 7.984 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.3439, allocations: 19.88 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3441, allocations: 47.84 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3441, allocations: 4 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3441, allocations: 0 / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.3441, allocations: 0 / 0.7847 GB, free: 12.03 MB / 0.6075 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.0005757/0.3447, allocations: 359.6 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3447, allocations: 12.03 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3448, allocations: 0.9375 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3449, allocations: 180.2 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3449, allocations: 384 / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.345, allocations: 4.375 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3452, allocations: 74.16 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3452, allocations: 4.188 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3452, allocations: 7.938 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3452, allocations: 0 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3454, allocations: 47.95 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.346, allocations: 296.7 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3462, allocations: 66.53 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3463, allocations: 28.91 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3463, allocations: 0 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3463, allocations: 38.56 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3463, allocations: 0 / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004096/0.3467, allocations: 109.5 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3468, allocations: 55.41 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.3469, allocations: 105.8 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3469, allocations: 25.7 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.347, allocations: 92.12 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.347, allocations: 11.91 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.347, allocations: 13.72 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3472, allocations: 318.8 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-05/0.3473, allocations: 19.98 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.3473, allocations: 27.97 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3475, allocations: 56.75 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3475, allocations: 3.938 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002208/0.3478, allocations: 93.48 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3478, allocations: 4 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3478, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3478, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3479, allocations: 11.98 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.348, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.348, allocations: 15.98 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.348, allocations: 0 / 0.7866 GB, free: 9.762 MB / 0.6075 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.845e-05/0.3481, allocations: 122.4 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3482, allocations: 0 / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3482, allocations: 11.84 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3482, allocations: 4 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3482, allocations: 0 / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3482, allocations: 0 / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3484, allocations: 177.5 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3484, allocations: 4 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.3485, allocations: 15.92 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3485, allocations: 4 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3485, allocations: 0 / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3485, allocations: 0 / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3485, allocations: 0 / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.3488, allocations: 179.8 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.3489, allocations: 89.05 kB / 0.7872 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3489, allocations: 7.984 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.349, allocations: 11.98 kB / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.3491, allocations: 8 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3491, allocations: 3.984 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.3491, allocations: 87.59 kB / 0.7873 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3492, allocations: 0 / 0.7873 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002126/0.3494, allocations: 4 kB / 0.7873 GB, free: 8.945 MB / 0.6075 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.0001476/0.3495, allocations: 111.2 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.3498, allocations: 55.94 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3498, allocations: 0 / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3499, allocations: 31.97 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3503, allocations: 7.938 kB / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.3507, allocations: 149.4 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3509, allocations: 0.6845 MB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.351, allocations: 4 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.351, allocations: 19.44 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.351, allocations: 3.938 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.002907/0.354, allocations: 0.8014 MB / 0.7892 GB, free: 7.027 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)