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.00083/0.0008299, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008084/0.008084, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.77/1.77, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.794/1.794, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005902/0.0005901, allocations: 16.72 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2791, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009768/0.2801, allocations: 297.9 kB / 0.7882 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.465e-05/0.2802, allocations: 4 kB / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.2802, allocations: 0 / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.2802, allocations: 0 / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.2803, allocations: 0 / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.811e-05/0.2803, allocations: 4 kB / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.2804, allocations: 7.938 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.2804, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.2805, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.553e-05/0.2805, allocations: 3.984 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2805, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-06/0.2805, allocations: 4 kB / 0.7882 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2806, allocations: 0 / 0.7882 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.2806, allocations: 29.64 kB / 0.7882 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.508e-05/0.2807, allocations: 7.984 kB / 0.7882 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2807, allocations: 0 / 0.7882 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2807, allocations: 4 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2807, allocations: 0 / 0.7882 GB, free: 11.21 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.000301/0.281, allocations: 311.6 kB / 0.7885 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.281, allocations: 8.031 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.2811, allocations: 0.9375 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2812, allocations: 160.4 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2812, allocations: 384 / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.2812, allocations: 4.375 kB / 0.7887 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.2813, allocations: 30.27 kB / 0.7887 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2814, allocations: 192 / 0.7887 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2814, allocations: 3.938 kB / 0.7887 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2814, allocations: 0 / 0.7887 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.2814, allocations: 11.94 kB / 0.7888 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.2818, allocations: 379.5 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.2819, allocations: 177.1 kB / 0.7893 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.2819, allocations: 84.08 kB / 0.7894 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.282, allocations: 79.22 kB / 0.7894 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.282, allocations: 109.8 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.2821, allocations: 0 / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.603e-05/0.2821, allocations: 29.7 kB / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2823, allocations: 130.7 kB / 0.7897 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2824, allocations: 93.86 kB / 0.7898 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2824, allocations: 33.64 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.2825, allocations: 80.17 kB / 0.7899 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.2825, allocations: 0 / 0.7899 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.2825, allocations: 9.719 kB / 0.7899 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2827, allocations: 314.8 kB / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.2827, allocations: 0 / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.2827, allocations: 4.062 kB / 0.7902 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.2828, allocations: 83.27 kB / 0.7903 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/0.2828, allocations: 75.28 kB / 0.7904 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.627e-05/0.2829, allocations: 33.64 kB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.2829, allocations: 79.28 kB / 0.7905 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-05/0.283, allocations: 83.28 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.276e-05/0.2831, allocations: 154.5 kB / 0.7907 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.2832, allocations: 75.28 kB / 0.7908 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.188e-05/0.2833, allocations: 158.5 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.2834, allocations: 87.27 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.2834, allocations: 75.28 kB / 0.7911 GB, free: 8.082 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.2836, allocations: 268.9 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.2836, allocations: 102 kB / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.2837, allocations: 112.1 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.669e-05/0.2838, allocations: 180.2 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-05/0.2839, allocations: 180.2 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001125/0.284, allocations: 176.3 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.2843, allocations: 409.1 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.864e-05/0.2844, allocations: 109 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.2845, allocations: 104.9 kB / 0.7926 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.653e-05/0.2846, allocations: 184.6 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.2847, allocations: 180.2 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-05/0.2848, allocations: 180.3 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001245/0.2849, allocations: 184.3 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.2851, allocations: 307.7 kB / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.2852, allocations: 190 kB / 0.7938 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.2853, allocations: 180.2 kB / 0.794 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2854, allocations: 105 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.2855, allocations: 184.2 kB / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.2856, allocations: 108.9 kB / 0.7944 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.2857, allocations: 79.22 kB / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2857, allocations: 0 / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000305/0.286, allocations: 0 / 0.7944 GB, free: 4.406 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 (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.0002279/0.2862, allocations: 182.5 kB / 0.7946 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.2863, allocations: 8.031 kB / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2863, allocations: 0 / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2863, allocations: 0 / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.2868, allocations: 0.5226 MB / 0.7951 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.2872, allocations: 150 kB / 0.7953 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2875, allocations: 0.6731 MB / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.353e-05/0.2875, allocations: 0 / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.2875, allocations: 7.438 kB / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.2876, allocations: 0 / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.002071/0.2896, allocations: 152.8 kB / 0.7961 GB, free: 2.648 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: