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.TimerAccumulating.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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001234/0.001235, allocations: 176.9 kB / 361.4 MB, free: 6.859 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.914/1.914, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0009187/0.0009185, allocations: 100.6 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.198e-05, allocations: 4 kB / 0.8518 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6936, allocations: 115.3 MB / 0.9644 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.8911, allocations: 137.9 MB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.8914, allocations: 71.95 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.9033, allocations: 3.973 MB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9034, allocations: 0 / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.9034, allocations: 0 / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009367/0.9043, allocations: 0.5271 MB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.9044, allocations: 12.03 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.9045, allocations: 32.83 kB / 1.104 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.9047, allocations: 177 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.9047, allocations: 15.98 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.9048, allocations: 35.97 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002415/0.9051, allocations: 108.5 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.9054, allocations: 223.1 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9055, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.9055, allocations: 11.98 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9055, allocations: 8 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.9065, allocations: 0.5404 MB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.907, allocations: 395.8 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.9073, allocations: 180.9 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.9073, allocations: 7.938 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.9079, allocations: 343.7 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 2.405e-06/0.9079, allocations: 3.938 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0008401/0.9087, allocations: 489.9 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.9088, allocations: 59.41 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.9089, allocations: 134 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.909, allocations: 37.7 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.9091, allocations: 101.4 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.9092, allocations: 98.75 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.9092, allocations: 8 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9093, allocations: 338.8 kB / 1.107 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.9096, allocations: 129.3 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.9099, allocations: 263 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.9104, allocations: 159.2 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.9105, allocations: 4 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001013/0.9115, allocations: 476.9 kB / 1.108 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.9116, allocations: 67.39 kB / 1.108 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.9116, allocations: 12.03 kB / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.9116, allocations: 10.91 kB / 1.108 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.9118, allocations: 40.55 kB / 1.108 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.9118, allocations: 11.98 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.9123, allocations: 103.7 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.9124, allocations: 28 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002039/0.9126, allocations: 155 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.9127, allocations: 31.8 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.9127, allocations: 18.19 kB / 1.108 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9128, allocations: 4 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.9128, allocations: 7.375 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9128, allocations: 0 / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.9144, allocations: 0.9684 MB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9144, allocations: 0 / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.9145, allocations: 15.94 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.9145, allocations: 0 / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.9145, allocations: 19.92 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.9145, allocations: 3.938 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9145, allocations: 0 / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.9153, allocations: 0.621 MB / 1.11 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.9154, allocations: 100.8 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.9155, allocations: 19.97 kB / 1.11 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.9157, allocations: 31.95 kB / 1.11 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.9158, allocations: 47.92 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.9158, allocations: 31.98 kB / 1.11 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.9159, allocations: 101.7 kB / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9159, allocations: 0 / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004955/0.9164, allocations: 95.98 kB / 1.11 GB, free: 6.223 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003106/0.9167, allocations: 150 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007557/0.9175, allocations: 0.4986 MB / 1.111 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.9175, allocations: 0 / 1.111 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.9179, allocations: 283.8 kB / 1.111 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.9182, allocations: 30.39 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.9188, allocations: 340.8 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.9192, allocations: 0.7386 MB / 1.112 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.548e-05/0.9193, allocations: 39.27 kB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.9193, allocations: 23.44 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9193, allocations: 0 / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.00767/0.927, allocations: 3.666 MB / 1.116 GB, free: 472 kB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)