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.001279/0.001279, allocations: 104.3 kB / 16.29 MB, free: 6.43 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.001156/0.001156, allocations: 184.5 kB / 17.22 MB, free: 5.934 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.621/1.621, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.97/1.97, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001437/0.001437, allocations: 67.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2713, allocations: 114.6 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002333/0.2737, allocations: 0.674 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2754, allocations: 1.156 MB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.2755, allocations: 0 / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.2756, allocations: 3.938 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.2757, allocations: 11.91 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.2762, allocations: 142.8 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2764, allocations: 151.7 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2765, allocations: 11.98 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.2766, allocations: 55.89 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.2768, allocations: 55.86 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.2768, allocations: 15.94 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.2769, allocations: 28 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.2769, allocations: 23.95 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.277, allocations: 47.84 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.2772, allocations: 135.9 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2772, allocations: 3.984 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2772, allocations: 0 / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.2773, allocations: 0 / 0.7865 GB, free: 1.281 MB / 0.6544 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.0006719/0.2779, allocations: 413 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.278, allocations: 8.031 kB / 0.7869 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.278, allocations: 20.78 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.2785, allocations: 204.5 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.2785, allocations: 16.36 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2785, allocations: 8.375 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2787, allocations: 82.19 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2787, allocations: 3.938 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2787, allocations: 4 kB / 0.7873 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2788, allocations: 3.938 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2789, allocations: 43.97 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5097/0.7886, allocations: 356.3 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.789, allocations: 93.27 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.7891, allocations: 38.72 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.7892, allocations: 3.688 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.7896, allocations: 132.8 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 5.29e-06/0.7897, allocations: 0 / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005607/0.7902, allocations: 204.5 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.7903, allocations: 60 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.7904, allocations: 106 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7906, allocations: 37.25 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7907, allocations: 90.02 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.7907, allocations: 31.59 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.7909, allocations: 46.44 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.791, allocations: 324.3 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.7911, allocations: 48.81 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.7912, allocations: 89.42 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.7915, allocations: 130.7 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7915, allocations: 3.25 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004073/0.7919, allocations: 212.2 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.792, allocations: 37 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.792, allocations: 0 / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.792, allocations: 2.625 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.7922, allocations: 10.31 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.7922, allocations: 9.953 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.7925, allocations: 42.91 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.7925, allocations: 12.33 kB / 0.7893 GB, free: 47.77 MB / 0.6544 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.0001423/0.7927, allocations: 124.7 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.7927, allocations: 9.812 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.7927, allocations: 15.36 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.7928, allocations: 0 / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.7928, allocations: 3.219 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7928, allocations: 3.938 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.7934, allocations: 434.9 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7934, allocations: 0 / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.7934, allocations: 9.688 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.7934, allocations: 3.594 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.7935, allocations: 5.578 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7935, allocations: 6.562 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7935, allocations: 0.5312 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.7938, allocations: 260.8 kB / 0.7902 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.7938, allocations: 88.81 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.7938, allocations: 2.094 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.7939, allocations: 13.67 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.794, allocations: 16.81 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.794, allocations: 11.19 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.7941, allocations: 83.34 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7941, allocations: 0 / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003133/0.7944, allocations: 35.62 kB / 0.7904 GB, free: 47.04 MB / 0.6544 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.0002624/0.7947, allocations: 115.8 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.795, allocations: 188.5 kB / 0.7907 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.795, allocations: 2.625 kB / 0.7907 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.7952, allocations: 70.95 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.7955, allocations: 20.02 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.796, allocations: 197.5 kB / 0.791 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.7963, allocations: 0.6908 MB / 0.7917 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.286e-05/0.7963, allocations: 10.02 kB / 0.7917 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.7964, allocations: 16.41 kB / 0.7917 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of SimCode: time 5.2e-07/0.7964, allocations: 0 / 0.7917 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.005464/0.8018, allocations: 1.641 MB / 0.7933 GB, free: 46.04 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)