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.00136/0.00136, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001181/0.001181, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.683/1.683, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.704/1.704, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001679/0.00168, allocations: 67.23 kB / 0.6717 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2986, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002302/0.301, allocations: 0.7434 MB / 0.7843 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3026, allocations: 1.165 MB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3027, allocations: 0 / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.3028, allocations: 0 / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.3029, allocations: 3.938 kB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.3034, allocations: 136 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3036, allocations: 143.8 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3038, allocations: 11.98 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3039, allocations: 59.83 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.304, allocations: 55.8 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.304, allocations: 12 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3042, allocations: 27.98 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.3042, allocations: 19.98 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.3043, allocations: 51.83 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3045, allocations: 96.03 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.3045, allocations: 7.984 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3045, allocations: 0 / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3045, allocations: 0 / 0.786 GB, free: 11.33 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.0007085/0.3052, allocations: 417 kB / 0.7864 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3052, allocations: 8.031 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.3053, allocations: 12.94 kB / 0.7864 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.3057, allocations: 216.3 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3058, allocations: 8.375 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.3058, allocations: 12.38 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.306, allocations: 82.19 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.306, allocations: 3.938 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.306, allocations: 0 / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3061, allocations: 7.938 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.3062, allocations: 43.97 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.3068, allocations: 360.6 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.307, allocations: 90.55 kB / 0.7872 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.3071, allocations: 40.84 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3071, allocations: 4 kB / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.3074, allocations: 139.2 kB / 0.7874 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3074, allocations: 0 / 0.7874 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000391/0.3078, allocations: 197.6 kB / 0.7876 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3078, allocations: 55.55 kB / 0.7876 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.308, allocations: 121.8 kB / 0.7877 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.308, allocations: 33.7 kB / 0.7878 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.3081, allocations: 84.12 kB / 0.7878 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.3082, allocations: 31.62 kB / 0.7879 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.3083, allocations: 45.69 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3084, allocations: 326.8 kB / 0.7882 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3086, allocations: 43.92 kB / 0.7883 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3087, allocations: 92.25 kB / 0.7884 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3089, allocations: 133.9 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3089, allocations: 0 / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003341/0.3092, allocations: 210.1 kB / 0.7887 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.3093, allocations: 37.7 kB / 0.7887 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3093, allocations: 0 / 0.7887 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3093, allocations: 4 kB / 0.7887 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.3094, allocations: 11.98 kB / 0.7887 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3094, allocations: 0 / 0.7887 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3096, allocations: 35.91 kB / 0.7888 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3096, allocations: 11.98 kB / 0.7888 GB, free: 8.191 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 0.000124/0.3098, allocations: 133.8 kB / 0.7889 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.3098, allocations: 11.91 kB / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.3098, allocations: 12.48 kB / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3098, allocations: 0 / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3098, allocations: 0 / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.3099, allocations: 3.984 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.3104, allocations: 450.2 kB / 0.7894 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3104, allocations: 0 / 0.7894 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.3104, allocations: 4 kB / 0.7894 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3105, allocations: 0 / 0.7894 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3105, allocations: 7.984 kB / 0.7894 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3105, allocations: 4 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3105, allocations: 4 kB / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3109, allocations: 263.3 kB / 0.7896 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3109, allocations: 84.95 kB / 0.7897 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.3109, allocations: 11.98 kB / 0.7897 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.311, allocations: 11.98 kB / 0.7897 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.3111, allocations: 7.984 kB / 0.7898 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.3111, allocations: 15.94 kB / 0.7898 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.3112, allocations: 83.58 kB / 0.7898 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3112, allocations: 0 / 0.7898 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002759/0.3115, allocations: 32 kB / 0.7899 GB, free: 6.973 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.0002059/0.3117, allocations: 115.2 kB / 0.79 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.312, allocations: 199.2 kB / 0.7902 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.312, allocations: 0 / 0.7902 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3122, allocations: 75.95 kB / 0.7902 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3125, allocations: 16.97 kB / 0.7903 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.313, allocations: 247.9 kB / 0.7905 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.3136, allocations: 0.6885 MB / 0.7912 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3137, allocations: 15.44 kB / 0.7912 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3137, allocations: 0 / 0.7912 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.003539/0.3172, allocations: 1.448 MB / 0.7926 GB, free: 4.113 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)