Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.905/2.905, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001619/0.001619, allocations: 183.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001166/0.001166, allocations: 96.73 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004786, allocations: 12.34 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.000989/0.2144, allocations: 470.2 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.216, allocations: 1.193 MB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.2161, allocations: 7.938 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.2162, allocations: 7.922 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.2163, allocations: 15.97 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.2171, allocations: 221.8 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.2173, allocations: 131.8 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.2174, allocations: 16.2 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2175, allocations: 83.86 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2177, allocations: 75.78 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.2177, allocations: 12 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.2178, allocations: 31.97 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.2179, allocations: 23.91 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.218, allocations: 49.7 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2182, allocations: 163.8 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2182, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2182, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.2182, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006965/0.2189, allocations: 474.4 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.219, allocations: 12.02 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/0.2191, allocations: 15.91 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008847/0.22, allocations: 258.8 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.22, allocations: 15.98 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.2201, allocations: 19.98 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.2204, allocations: 132.1 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2204, allocations: 0 / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.2205, allocations: 11.98 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2205, allocations: 4 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2207, allocations: 63.95 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009944/0.2217, allocations: 0.5278 MB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.222, allocations: 157.3 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2221, allocations: 4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/0.2225, allocations: 198.2 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.2226, allocations: 4 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.000773/0.2233, allocations: 312.1 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2234, allocations: 89.05 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2235, allocations: 134 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.2236, allocations: 41.7 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.2237, allocations: 88.7 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.2237, allocations: 51.5 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.2238, allocations: 8 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.2239, allocations: 330.8 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.2241, allocations: 84.23 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.2245, allocations: 164.1 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.2247, allocations: 134.3 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2248, allocations: 4 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008347/0.2256, allocations: 364.5 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.2257, allocations: 67.39 kB / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2257, allocations: 4 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2257, allocations: 4 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.2259, allocations: 16.31 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2259, allocations: 0 / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.2266, allocations: 99.94 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.2266, allocations: 23.98 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001766/0.2268, allocations: 148 kB / 0.9845 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.2269, allocations: 15.89 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.2269, allocations: 12.5 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.227, allocations: 4 kB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.227, allocations: 0 / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.227, allocations: 0 / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.2278, allocations: 0.6225 MB / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2278, allocations: 0 / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.2279, allocations: 4 kB / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2279, allocations: 4 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2279, allocations: 11.98 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2279, allocations: 0 / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2279, allocations: 3.953 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.2285, allocations: 432.7 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.2285, allocations: 88.95 kB / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.2286, allocations: 11.98 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2288, allocations: 19.94 kB / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.2289, allocations: 19.97 kB / 0.9857 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.2289, allocations: 19.98 kB / 0.9857 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.229, allocations: 95.27 kB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.229, allocations: 0 / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005379/0.2296, allocations: 59.89 kB / 0.9859 GB, free: 20.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001903/0.2298, allocations: 120.3 kB / 0.986 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006648/0.2304, allocations: 343 kB / 0.9863 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2305, allocations: 4.062 kB / 0.9863 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.2307, allocations: 119.8 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2311, allocations: 20.27 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.2317, allocations: 300.5 kB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.2319, allocations: 0.7086 MB / 0.9874 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.232, allocations: 21.55 kB / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.2321, allocations: 19.44 kB / 0.9875 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.2321, allocations: 0 / 0.9875 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.007027/0.2391, allocations: 2.372 MB / 0.9898 GB, free: 15.98 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)