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.001331/0.001336, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.847/1.847, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001479/0.00148, allocations: 70.19 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2875, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002153/0.2897, allocations: 0.6787 MB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2912, allocations: 1.156 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.2913, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.2914, allocations: 11.92 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.2914, allocations: 7.938 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.2919, allocations: 135.7 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2921, allocations: 143.8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2922, allocations: 15.98 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.2923, allocations: 59.83 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.2924, allocations: 51.81 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.2925, allocations: 16 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.2926, allocations: 19.98 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.2926, allocations: 23.97 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.2927, allocations: 51.84 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2929, allocations: 131.9 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2929, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2929, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2929, allocations: 0 / 0.7858 GB, free: 10.96 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.0006229/0.2935, allocations: 421 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2936, allocations: 12.03 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.2936, allocations: 8.875 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.2941, allocations: 220.3 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2941, allocations: 4.375 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.2941, allocations: 16.3 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2943, allocations: 82.2 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2943, allocations: 3.938 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2944, allocations: 7.984 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2944, allocations: 0 / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.2945, allocations: 39.97 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.295, allocations: 356.6 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.2952, allocations: 98.52 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.2953, allocations: 40.84 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2953, allocations: 0 / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.2956, allocations: 146.5 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.2956, allocations: 0 / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004123/0.296, allocations: 189.6 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2961, allocations: 55.41 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.2962, allocations: 121.7 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.2962, allocations: 33.7 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.2963, allocations: 89.2 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.2963, allocations: 35.59 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.2964, allocations: 45.7 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2966, allocations: 322.8 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2967, allocations: 55.91 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2968, allocations: 80.27 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.297, allocations: 137.9 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.297, allocations: 4 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003237/0.2973, allocations: 210.6 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.2974, allocations: 37.62 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2974, allocations: 4.125 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2974, allocations: 4 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.2975, allocations: 12 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2975, allocations: 4 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2977, allocations: 35.89 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2977, allocations: 12 kB / 0.7886 GB, free: 7.797 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.2978, allocations: 130.4 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.2979, allocations: 15.89 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.2979, allocations: 8.5 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2979, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2979, allocations: 7.938 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2979, allocations: 0 / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.2984, allocations: 438.3 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2984, allocations: 0 / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.2984, allocations: 7.984 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2984, allocations: 4 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2984, allocations: 4 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2984, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2984, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2987, allocations: 259.4 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2987, allocations: 84.95 kB / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2988, allocations: 8 kB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.2989, allocations: 7.984 kB / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.2989, allocations: 19.98 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.299, allocations: 11.92 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.299, allocations: 87.27 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.299, allocations: 0 / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002739/0.2993, allocations: 35.98 kB / 0.7897 GB, free: 6.59 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 (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.0001754/0.2995, allocations: 117.7 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.2998, allocations: 199.5 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2998, allocations: 4.062 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2999, allocations: 63.98 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3002, allocations: 25.16 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.3006, allocations: 202.4 kB / 0.7903 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3009, allocations: 0.6924 MB / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.301, allocations: 4.562 kB / 0.791 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.301, allocations: 15.44 kB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of SimCode: time 1.8e-07/0.301, allocations: 0 / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.004551/0.3056, allocations: 1.651 MB / 0.7926 GB, free: 3.57 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (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)