Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001078/0.001078, allocations: 191 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 62.52 kB / 0.9115 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3325, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00265/0.3352, allocations: 1.539 MB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.3358, allocations: 442.8 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.3359, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3359, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.336, allocations: 7.922 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.3361, allocations: 19.98 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.3362, allocations: 55.84 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3363, allocations: 15.92 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.3364, allocations: 15.98 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.3364, allocations: 27.84 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3365, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.3365, allocations: 8 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.3365, allocations: 7.984 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.3366, allocations: 27.86 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.3367, allocations: 39.89 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3367, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3367, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3367, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000475/0.3372, allocations: 355.7 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3372, allocations: 12.03 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3372, allocations: 4.844 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3374, allocations: 176.2 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3374, allocations: 12.38 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3374, allocations: 4.375 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3375, allocations: 61.92 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3376, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3376, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3376, allocations: 4 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.3376, allocations: 27.92 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.3381, allocations: 300.7 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3382, allocations: 58.66 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.3383, allocations: 32.88 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3383, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3384, allocations: 71.38 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3385, allocations: 4 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002267/0.3387, allocations: 93.62 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.3387, allocations: 59.39 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.3388, allocations: 109.7 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3389, allocations: 29.7 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.3389, allocations: 88.12 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.339, allocations: 23.66 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.339, allocations: 25.7 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3391, allocations: 326.8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.3392, allocations: 19.92 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.3393, allocations: 43.42 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.3393, allocations: 67.55 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3394, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.3395, allocations: 97.98 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3395, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3395, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3396, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.3396, allocations: 19.92 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3396, allocations: 3.938 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.3397, allocations: 7.906 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3397, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.807e-05/0.3398, allocations: 121.8 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.3398, allocations: 7.984 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3399, allocations: 7.969 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3399, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.3403, allocations: 362.3 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3403, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.3403, allocations: 11.94 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3404, allocations: 64 / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3404, allocations: 7.984 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3404, allocations: 7.875 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3404, allocations: 4 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3406, allocations: 179.5 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3406, allocations: 88.94 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3406, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.3407, allocations: 11.94 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3408, allocations: 11.98 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3408, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.3408, allocations: 83.27 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3409, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002345/0.3411, allocations: 16 kB / 1.073 GB, free: 5.219 MB / 0.8262 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001032/0.3412, allocations: 95.25 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.3414, allocations: 59.98 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3414, allocations: 8.062 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.3415, allocations: 27.98 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3417, allocations: 8.406 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.3421, allocations: 165.2 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3424, allocations: 0.6924 MB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.3424, allocations: 4 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.3424, allocations: 11.44 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3424, allocations: 0 / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.002585/0.345, allocations: 0.7345 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)