Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.001003/0.001003, allocations: 183 kB / 372.9 MB, free: 10.15 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.507/1.507, allocations: 205.4 MB / 0.6317 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007916/0.0007917, allocations: 104.1 kB / 0.7451 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005317, allocations: 18.42 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7405/0.9648, allocations: 138.4 MB / 1.116 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.9651, allocations: 74.08 kB / 1.116 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006168/0.9713, allocations: 2.11 MB / 1.118 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.227e-06/0.9713, allocations: 0 / 1.118 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.9713, allocations: 0 / 1.118 GB, free: 31.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005321/0.9719, allocations: 400.4 kB / 1.118 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.9719, allocations: 11.78 kB / 1.118 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.972, allocations: 8.75 kB / 1.118 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.9721, allocations: 179.1 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.9722, allocations: 7.969 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.9722, allocations: 8.219 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.9724, allocations: 73.11 kB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9725, allocations: 192 / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.9725, allocations: 7.938 kB / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9725, allocations: 3.938 kB / 1.119 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.9727, allocations: 57.59 kB / 1.119 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.9733, allocations: 319.4 kB / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.9734, allocations: 72.39 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.9736, allocations: 39.81 kB / 1.119 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.9736, allocations: 3.906 kB / 1.119 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.9739, allocations: 88.14 kB / 1.119 GB, free: 30.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.9739, allocations: 0 / 1.119 GB, free: 30.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004367/0.9743, allocations: 159.5 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.9744, allocations: 55.34 kB / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.9745, allocations: 126.8 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.9745, allocations: 33.55 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.9746, allocations: 90.05 kB / 1.12 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.9746, allocations: 17.11 kB / 1.12 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.9746, allocations: 3.844 kB / 1.12 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9748, allocations: 317.2 kB / 1.12 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9749, allocations: 59.16 kB / 1.12 GB, free: 30.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.9751, allocations: 90.45 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.9753, allocations: 155.6 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9753, allocations: 1.344 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004258/0.9758, allocations: 219.3 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.9758, allocations: 40.45 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9758, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.9759, allocations: 3.844 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.976, allocations: 14.58 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.976, allocations: 7.969 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.9762, allocations: 48.52 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.9762, allocations: 10.12 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.787e-05/0.9763, allocations: 133.3 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.9763, allocations: 11.7 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.9763, allocations: 10.98 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9764, allocations: 0 / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9764, allocations: 0 / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9764, allocations: 3.844 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.9768, allocations: 390.4 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9768, allocations: 0 / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.9768, allocations: 10.44 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9769, allocations: 0 / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.9769, allocations: 0 / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.9769, allocations: 4.203 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9769, allocations: 0 / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.9772, allocations: 228.8 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.9772, allocations: 88.95 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.9772, allocations: 6.359 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.9773, allocations: 10.25 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.9774, allocations: 10.11 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.9774, allocations: 7.75 kB / 1.121 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.9774, allocations: 89.39 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9774, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000259/0.9777, allocations: 33.31 kB / 1.122 GB, free: 29.27 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001704/0.9779, allocations: 123.1 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.9783, allocations: 182.1 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9783, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.9784, allocations: 48 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.9787, allocations: 15.12 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.979, allocations: 169.1 kB / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.9793, allocations: 0.6905 MB / 1.123 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.9793, allocations: 6.641 kB / 1.123 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.9793, allocations: 11.34 kB / 1.123 GB, free: 28.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.9793, allocations: 0 / 1.123 GB, free: 28.26 MB / 0.698 GB Notification: Performance of Templates: time 0.003403/0.9827, allocations: 1.296 MB / 1.124 GB, free: 28.14 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)