Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.954/2.954, allocations: 287.5 MB / 302.4 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 179.9 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 97.11 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 16.59 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9385/1.146, allocations: 136.9 MB / 1.112 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.146, allocations: 65.73 kB / 1.112 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001056/1.147, allocations: 371.1 kB / 1.113 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.147, allocations: 0 / 1.113 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.147, allocations: 0 / 1.113 GB, free: 31.4 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.000296/1.147, allocations: 314.9 kB / 1.113 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.147, allocations: 7.75 kB / 1.113 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/1.147, allocations: 3.938 kB / 1.113 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.148, allocations: 164.3 kB / 1.113 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.148, allocations: 3.906 kB / 1.113 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.148, allocations: 0 / 1.113 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/1.148, allocations: 33.14 kB / 1.113 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.148, allocations: 0.9375 kB / 1.113 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.148, allocations: 1.922 kB / 1.113 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.148, allocations: 4 kB / 1.113 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/1.148, allocations: 3.875 kB / 1.113 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/1.148, allocations: 382.8 kB / 1.113 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/1.148, allocations: 173.1 kB / 1.114 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/1.148, allocations: 75.28 kB / 1.114 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.148, allocations: 113.2 kB / 1.114 GB, free: 30.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/1.148, allocations: 0 / 1.114 GB, free: 30.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.045e-05/1.148, allocations: 27.02 kB / 1.114 GB, free: 30 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/1.148, allocations: 130.5 kB / 1.114 GB, free: 29.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/1.149, allocations: 86.41 kB / 1.114 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.149, allocations: 25.7 kB / 1.114 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/1.149, allocations: 87.42 kB / 1.114 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/1.149, allocations: 4 kB / 1.114 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-07/1.149, allocations: 0 / 1.114 GB, free: 29.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.149, allocations: 318.6 kB / 1.114 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/1.149, allocations: 3.938 kB / 1.114 GB, free: 29.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/1.149, allocations: 0 / 1.114 GB, free: 29.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/1.149, allocations: 75.28 kB / 1.114 GB, free: 29.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/1.149, allocations: 75.28 kB / 1.115 GB, free: 29.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.576e-05/1.149, allocations: 30.56 kB / 1.115 GB, free: 29.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/1.149, allocations: 85.48 kB / 1.115 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/1.149, allocations: 84.16 kB / 1.115 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.082e-05/1.149, allocations: 155.7 kB / 1.115 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/1.149, allocations: 76.64 kB / 1.115 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.785e-05/1.149, allocations: 154.5 kB / 1.115 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/1.149, allocations: 75.28 kB / 1.115 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/1.149, allocations: 88.42 kB / 1.115 GB, free: 28.47 MB / 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 () * 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.0001303/1.149, allocations: 260.4 kB / 1.116 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/1.15, allocations: 106.4 kB / 1.116 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/1.15, allocations: 109 kB / 1.116 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-05/1.15, allocations: 180.5 kB / 1.116 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-05/1.15, allocations: 181.8 kB / 1.116 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.461e-05/1.15, allocations: 184.2 kB / 1.116 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/1.15, allocations: 406.3 kB / 1.117 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/1.15, allocations: 102.3 kB / 1.117 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/1.15, allocations: 113.6 kB / 1.117 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.425e-05/1.15, allocations: 181.8 kB / 1.117 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/1.15, allocations: 185.1 kB / 1.117 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.111e-05/1.151, allocations: 177.9 kB / 1.117 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.896e-05/1.151, allocations: 176.3 kB / 1.118 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/1.151, allocations: 308.3 kB / 1.118 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/1.151, allocations: 200.2 kB / 1.118 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/1.151, allocations: 177.4 kB / 1.118 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/1.151, allocations: 101 kB / 1.118 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/1.151, allocations: 189.2 kB / 1.118 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/1.151, allocations: 101 kB / 1.119 GB, free: 24.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.611e-05/1.151, allocations: 80.61 kB / 1.119 GB, free: 24.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.151, allocations: 4.094 kB / 1.119 GB, free: 24.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002933/1.152, allocations: 3.844 kB / 1.119 GB, free: 24.86 MB / 0.698 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.000168/1.152, allocations: 171.6 kB / 1.119 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.579e-05/1.152, allocations: 4.422 kB / 1.119 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.152, allocations: 0 / 1.119 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/1.152, allocations: 0 / 1.119 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/1.152, allocations: 0.5323 MB / 1.119 GB, free: 24.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/1.152, allocations: 155.6 kB / 1.119 GB, free: 24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/1.153, allocations: 0.6758 MB / 1.12 GB, free: 23.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.997e-06/1.153, allocations: 0 / 1.12 GB, free: 23.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/1.153, allocations: 7.438 kB / 1.12 GB, free: 23.29 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/1.153, allocations: 0 / 1.12 GB, free: 23.29 MB / 0.698 GB Notification: Performance of Templates: time 0.002149/1.155, allocations: 153.1 kB / 1.12 GB, free: 23.25 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)