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.001495/0.001495, allocations: 111.9 kB / 16.38 MB, free: 5.539 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.00149/0.00149, allocations: 191.6 kB / 17.31 MB, free: 5.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.72/1.72, allocations: 205.1 MB / 223.2 MB, free: 12.11 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 2.062/2.062, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001628/0.001628, allocations: 71.89 kB / 0.673 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2815, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.003088/0.2847, allocations: 0.6776 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2864, allocations: 1.164 MB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.2864, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.2865, allocations: 7.922 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.2866, allocations: 3.938 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.2871, allocations: 146.8 kB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.2873, allocations: 143.7 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.2874, allocations: 15.98 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.2874, allocations: 55.95 kB / 0.787 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.2876, allocations: 55.78 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.2876, allocations: 19.94 kB / 0.7871 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.2877, allocations: 23.98 kB / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.2878, allocations: 19.98 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.2878, allocations: 55.83 kB / 0.7872 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2881, allocations: 135.5 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2881, allocations: 0 / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2881, allocations: 0 / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.2881, allocations: 4 kB / 0.7873 GB, free: 0.6367 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.0007031/0.2888, allocations: 413.1 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2889, allocations: 12.03 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.2889, allocations: 8.844 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5382/0.8272, allocations: 206.8 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.8272, allocations: 6.828 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.8273, allocations: 16.84 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.8275, allocations: 86.33 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8275, allocations: 3.625 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.8275, allocations: 4.828 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8275, allocations: 3.938 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.8276, allocations: 38.61 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.8282, allocations: 355.7 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.8284, allocations: 94.48 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.136e-05/0.8285, allocations: 44.02 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.8285, allocations: 8.25 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.8288, allocations: 121.9 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.8289, allocations: 6.031 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.000358/0.8292, allocations: 198.2 kB / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.8293, allocations: 57.31 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.8293, allocations: 113 kB / 0.789 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.8294, allocations: 33.2 kB / 0.789 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.8294, allocations: 91.14 kB / 0.7891 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.8295, allocations: 30.55 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.8295, allocations: 50.73 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.8296, allocations: 318 kB / 0.7895 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.8297, allocations: 50.92 kB / 0.7896 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.8298, allocations: 85.22 kB / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.83, allocations: 134.8 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.83, allocations: 0 / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002936/0.8303, allocations: 216 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.8303, allocations: 41.39 kB / 0.79 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8303, allocations: 0 / 0.79 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.8304, allocations: 3.969 kB / 0.79 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.8304, allocations: 11.06 kB / 0.79 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8305, allocations: 4.531 kB / 0.79 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.8307, allocations: 38.78 kB / 0.7901 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.8307, allocations: 8.719 kB / 0.7901 GB, free: 47.55 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.0001118/0.8308, allocations: 130.8 kB / 0.7902 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.8308, allocations: 14.91 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.8309, allocations: 15.64 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8309, allocations: 1.031 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8309, allocations: 0 / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.831, allocations: 87.09 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.831, allocations: 5.625 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.831, allocations: 8.047 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.8311, allocations: 14.16 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002925/0.8314, allocations: 249.4 kB / 0.7906 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002951/0.8317, allocations: 342.8 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.639e-05/0.8318, allocations: 68.53 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.8319, allocations: 86.08 kB / 0.791 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of Backend: time 6.21e-07/0.8319, allocations: 0.9688 kB / 0.791 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.8324, allocations: 236.4 kB / 0.7913 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004946/0.8329, allocations: 0.6124 MB / 0.7919 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.004295/0.8372, allocations: 1.726 MB / 0.7936 GB, free: 46.18 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)