Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.9 kB / 16.36 MB, free: 5.949 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.001202/0.001202, allocations: 194 kB / 17.3 MB, free: 5.562 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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001451/0.001451, allocations: 71.89 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2623, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002343/0.2648, allocations: 0.7093 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2659, allocations: 0.8282 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.266, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.266, allocations: 3.938 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.011e-05/0.2661, allocations: 3.938 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.2663, allocations: 27.91 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.2664, allocations: 47.86 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2665, allocations: 19.97 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.2666, allocations: 19.92 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.2667, allocations: 23.92 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2667, allocations: 4 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.2667, allocations: 4 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.2668, allocations: 11.98 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.2668, allocations: 19.84 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2669, allocations: 47.88 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2669, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2669, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.267, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 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.0005345/0.2675, allocations: 351.4 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2675, allocations: 11.97 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2676, allocations: 8.844 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2677, allocations: 180.2 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2677, allocations: 12.38 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.2678, allocations: 384 / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2679, allocations: 66.22 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.268, allocations: 192 / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.268, allocations: 3.938 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.268, allocations: 0 / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.2682, allocations: 51.95 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.2686, allocations: 300.6 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2688, allocations: 62.55 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.2689, allocations: 28.91 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.269, allocations: 0 / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.269, allocations: 38.56 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.269, allocations: 3.938 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003915/0.2694, allocations: 105.6 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4559/0.7253, allocations: 53.06 kB / 0.7877 GB, free: 49.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.7255, allocations: 111.3 kB / 0.7878 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.7256, allocations: 25.7 kB / 0.7879 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.7256, allocations: 83.95 kB / 0.788 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.7257, allocations: 12.92 kB / 0.788 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.7257, allocations: 19.84 kB / 0.788 GB, free: 49.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.7258, allocations: 315.6 kB / 0.7883 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.726, allocations: 24.08 kB / 0.7883 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.7261, allocations: 27.33 kB / 0.7883 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.7263, allocations: 54.77 kB / 0.7884 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7263, allocations: 2.625 kB / 0.7884 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002599/0.7265, allocations: 85.61 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7266, allocations: 6.875 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7266, allocations: 0 / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.7266, allocations: 3 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.7267, allocations: 10.97 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.7268, allocations: 5.891 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.7268, allocations: 10.5 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.7269, allocations: 0 / 0.7885 GB, free: 48.93 MB / 0.6544 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,intLesEquThr.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 8.492e-05/0.7269, allocations: 120 kB / 0.7886 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.727, allocations: 8.594 kB / 0.7886 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.727, allocations: 7.844 kB / 0.7886 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.727, allocations: 6.562 kB / 0.7886 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.727, allocations: 1 kB / 0.7886 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7271, allocations: 0 / 0.7886 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.7272, allocations: 172 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7273, allocations: 1.938 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.7273, allocations: 14.84 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7274, allocations: 1.125 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7274, allocations: 0 / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.7274, allocations: 4.531 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.7274, allocations: 2.344 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.7277, allocations: 179.5 kB / 0.789 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.7277, allocations: 83.92 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.7277, allocations: 5.812 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.7278, allocations: 9.719 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.7279, allocations: 13.97 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.7279, allocations: 0 / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.7279, allocations: 89.17 kB / 0.7892 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.728, allocations: 0 / 0.7892 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002218/0.7282, allocations: 10.34 kB / 0.7892 GB, free: 48.3 MB / 0.6544 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 (intLesEquThr.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.0001683/0.7284, allocations: 104.4 kB / 0.7893 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.7286, allocations: 56.09 kB / 0.7894 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7286, allocations: 5.906 kB / 0.7894 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.7288, allocations: 27.27 kB / 0.7894 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.7291, allocations: 6.25 kB / 0.7894 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.7295, allocations: 125.4 kB / 0.7895 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.7296, allocations: 0.6825 MB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.7297, allocations: 7.484 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.7297, allocations: 13.62 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of SimCode: time 1.332e-06/0.7297, allocations: 3.188 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.003274/0.733, allocations: 0.8879 MB / 0.7911 GB, free: 47.42 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)