Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009215, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001026/0.001026, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.764/1.764, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004877/0.0004877, allocations: 13.44 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2673, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.000749/0.2681, allocations: 296.3 kB / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.266e-05/0.2681, allocations: 4 kB / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.2682, allocations: 0 / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2682, allocations: 0 / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.339e-05/0.2682, allocations: 0 / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.965e-05/0.2683, allocations: 0 / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.2683, allocations: 0 / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.2684, allocations: 4 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.2684, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.2684, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2684, allocations: 4 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.2685, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2685, allocations: 3.938 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.2685, allocations: 29.64 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.503e-05/0.2686, allocations: 3.984 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2686, allocations: 0 / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.306e-06/0.2686, allocations: 4 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2686, allocations: 0 / 0.7875 GB, free: 11.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002755/0.2689, allocations: 307.4 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2689, allocations: 8.094 kB / 0.7878 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.269, allocations: 4 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2691, allocations: 171 kB / 0.7879 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2691, allocations: 0 / 0.7879 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.2691, allocations: 0 / 0.7879 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.2692, allocations: 25.7 kB / 0.788 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.2692, allocations: 0 / 0.788 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.2692, allocations: 4 kB / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2692, allocations: 0 / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.2693, allocations: 0 / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.2696, allocations: 401 kB / 0.7884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.2697, allocations: 165.1 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2697, allocations: 75.28 kB / 0.7886 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.2698, allocations: 109.8 kB / 0.7887 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2698, allocations: 4 kB / 0.7887 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.2699, allocations: 37.58 kB / 0.7887 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.2699, allocations: 130.7 kB / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.27, allocations: 93.86 kB / 0.7889 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.27, allocations: 25.7 kB / 0.789 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.2701, allocations: 84.14 kB / 0.789 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2701, allocations: 0 / 0.789 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-07/0.2701, allocations: 0 / 0.789 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2702, allocations: 318.9 kB / 0.7893 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-06/0.2702, allocations: 0 / 0.7893 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.2702, allocations: 0 / 0.7893 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.2703, allocations: 79.28 kB / 0.7894 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/0.2703, allocations: 75.28 kB / 0.7895 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.461e-05/0.2704, allocations: 33.62 kB / 0.7895 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.2704, allocations: 83.28 kB / 0.7896 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.2704, allocations: 75.28 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.114e-05/0.2705, allocations: 158.6 kB / 0.7898 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.323e-05/0.2705, allocations: 79.22 kB / 0.7899 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-05/0.2706, allocations: 154.6 kB / 0.7901 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.2707, allocations: 83.22 kB / 0.7901 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.2707, allocations: 75.28 kB / 0.7902 GB, free: 8.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.2708, allocations: 272.3 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.2709, allocations: 110.1 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.271, allocations: 104.1 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-05/0.271, allocations: 180.3 kB / 0.7908 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.946e-05/0.2711, allocations: 180.2 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.267e-05/0.2712, allocations: 188.2 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2714, allocations: 409.1 kB / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.2714, allocations: 105 kB / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.2715, allocations: 109 kB / 0.7918 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.157e-05/0.2716, allocations: 180.2 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.2717, allocations: 176.3 kB / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.437e-05/0.2717, allocations: 188.5 kB / 0.7923 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.216e-05/0.2718, allocations: 180.3 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.272, allocations: 315.7 kB / 0.7928 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.2722, allocations: 182.1 kB / 0.793 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.2723, allocations: 184.2 kB / 0.7931 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.2724, allocations: 101 kB / 0.7932 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.2725, allocations: 188.2 kB / 0.7934 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.2725, allocations: 104.9 kB / 0.7935 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.071e-05/0.2726, allocations: 75.28 kB / 0.7936 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2726, allocations: 0 / 0.7936 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002941/0.2729, allocations: 4 kB / 0.7936 GB, free: 4.902 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.2731, allocations: 174.6 kB / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.766e-05/0.2732, allocations: 0 / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2732, allocations: 0 / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2732, allocations: 0 / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2735, allocations: 0.5266 MB / 0.7943 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.2738, allocations: 164.7 kB / 0.7944 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.2741, allocations: 0.6692 MB / 0.7951 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.2741, allocations: 7.984 kB / 0.7951 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.2741, allocations: 7.438 kB / 0.7951 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2741, allocations: 0 / 0.7951 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of Templates: time 0.001773/0.2759, allocations: 146.5 kB / 0.7952 GB, free: 3.148 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: