Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.797/1.797, allocations: 285.6 MB / 293.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 172.9 kB / 361.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 87.84 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.795e-05, allocations: 15.97 kB / 0.8518 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.734, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.9269, allocations: 136.3 MB / 1.098 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.9272, allocations: 69.69 kB / 1.098 GB, free: 3.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005142/0.9277, allocations: 372.9 kB / 1.098 GB, free: 3.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9277, allocations: 4 kB / 1.098 GB, free: 3.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9277, allocations: 0 / 1.098 GB, free: 3.051 MB / 0.698 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.0002541/0.928, allocations: 301.2 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.928, allocations: 10.72 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.9281, allocations: 9.641 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.9282, allocations: 163.6 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.9282, allocations: 3.562 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.9283, allocations: 0 / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.214e-05/0.9283, allocations: 7.891 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.617e-05/0.9284, allocations: 29.7 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9284, allocations: 0.6562 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9284, allocations: 0 / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9284, allocations: 1.953 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.9287, allocations: 365.2 kB / 1.099 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.9288, allocations: 170.5 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.9289, allocations: 80.64 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.9289, allocations: 75.78 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.929, allocations: 107.4 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.929, allocations: 0 / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.28e-05/0.929, allocations: 34.23 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.9291, allocations: 52 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.9292, allocations: 89.58 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.9292, allocations: 26.36 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.9292, allocations: 80.7 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.9292, allocations: 0 / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-07/0.9292, allocations: 0.5 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9294, allocations: 317.9 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.9294, allocations: 4.562 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-06/0.9294, allocations: 1.5 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.9294, allocations: 79.23 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/0.9295, allocations: 75.28 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.918e-05/0.9295, allocations: 27.55 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.9296, allocations: 83.88 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.9296, allocations: 76.69 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.485e-05/0.9297, allocations: 162.5 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.703e-05/0.9297, allocations: 79.89 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.508e-05/0.9298, allocations: 157.7 kB / 1.101 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.9299, allocations: 79.91 kB / 1.101 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.9299, allocations: 75.28 kB / 1.101 GB, free: 116 kB / 0.698 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 () * 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.0001594/0.9301, allocations: 257.2 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.9301, allocations: 105.5 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.9302, allocations: 116.2 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.511e-05/0.9303, allocations: 177.3 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-05/0.9304, allocations: 181 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.286e-05/0.9304, allocations: 190.8 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.9307, allocations: 378.8 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.153e-05/0.9307, allocations: 101.9 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.9307, allocations: 104.9 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.279e-05/0.9308, allocations: 185.6 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.9309, allocations: 180.1 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-05/0.931, allocations: 185 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.237e-05/0.9311, allocations: 184.2 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.9312, allocations: 300.7 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.9313, allocations: 182.1 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.9314, allocations: 184.2 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.9315, allocations: 110.9 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.9316, allocations: 176.3 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.9317, allocations: 101 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.9317, allocations: 83.41 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9317, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002553/0.932, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 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 () * 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.0001475/0.9321, allocations: 182.2 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.247e-05/0.9322, allocations: 3.844 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9322, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.9322, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.9325, allocations: 0.5296 MB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.9327, allocations: 123.8 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.933, allocations: 0.6729 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.124e-06/0.933, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-06/0.933, allocations: 7.438 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.933, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.001398/0.9344, allocations: 147.1 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)