Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000775/0.000775, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.000795/0.0007949, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005555, allocations: 14.09 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0008635/0.2389, allocations: 398.4 kB / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2403, allocations: 1.158 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.2403, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.2404, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.2404, allocations: 3.938 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.2409, allocations: 123 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.241, allocations: 123.7 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.2411, allocations: 8 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.2412, allocations: 47.89 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.2413, allocations: 47.88 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2413, allocations: 4 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.2414, allocations: 23.98 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.2414, allocations: 15.97 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.2414, allocations: 41.64 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2415, allocations: 96 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2416, allocations: 0 / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2416, allocations: 4 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.2416, allocations: 0 / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004693/0.242, allocations: 392.9 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2421, allocations: 12.03 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.2422, allocations: 11.89 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.2425, allocations: 215 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.2426, allocations: 11.98 kB / 0.7899 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.2426, allocations: 11.94 kB / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2427, allocations: 85.56 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2428, allocations: 0 / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2428, allocations: 8 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2428, allocations: 0 / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.2429, allocations: 35.97 kB / 0.7901 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.2434, allocations: 372.5 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2436, allocations: 98.53 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.2436, allocations: 32.84 kB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2436, allocations: 8 kB / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.2439, allocations: 135.5 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2439, allocations: 3.938 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000349/0.2442, allocations: 201.5 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2443, allocations: 55.39 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.2444, allocations: 121.8 kB / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2444, allocations: 33.7 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.2445, allocations: 92.05 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.2445, allocations: 23.7 kB / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.2445, allocations: 4 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2446, allocations: 318.8 kB / 0.7915 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.2447, allocations: 43.98 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2448, allocations: 99.11 kB / 0.7916 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.245, allocations: 70.58 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.245, allocations: 4 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003198/0.2453, allocations: 206.9 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.2453, allocations: 37.7 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2453, allocations: 4.125 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2454, allocations: 4 kB / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.2454, allocations: 8 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2455, allocations: 11.88 kB / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.2456, allocations: 51.81 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2457, allocations: 12 kB / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 9.596e-05/0.2458, allocations: 129.8 kB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.2458, allocations: 7.906 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.2458, allocations: 12.48 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2458, allocations: 4 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2458, allocations: 0 / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2459, allocations: 3.953 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.2463, allocations: 438.4 kB / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2463, allocations: 0 / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.2463, allocations: 4 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2463, allocations: 0 / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2463, allocations: 8 kB / 0.7926 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2463, allocations: 0 / 0.7926 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2463, allocations: 3.953 kB / 0.7926 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.2466, allocations: 259.4 kB / 0.7929 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.2466, allocations: 84.95 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.2467, allocations: 4 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.2468, allocations: 15.92 kB / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2468, allocations: 19.92 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2468, allocations: 8 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.2469, allocations: 87.27 kB / 0.7931 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2469, allocations: 3.938 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002607/0.2471, allocations: 32 kB / 0.7931 GB, free: 5.621 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000145/0.2473, allocations: 119.2 kB / 0.7932 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.2476, allocations: 191.3 kB / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2476, allocations: 0 / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.2477, allocations: 71.91 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.248, allocations: 15.98 kB / 0.7935 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.2483, allocations: 215.4 kB / 0.7937 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2486, allocations: 0.6885 MB / 0.7944 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.587e-05/0.2486, allocations: 16.55 kB / 0.7944 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.2487, allocations: 11.44 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2487, allocations: 0 / 0.7944 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.003745/0.2524, allocations: 1.462 MB / 0.7958 GB, free: 2.781 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: