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.001453/0.001453, allocations: 106.7 kB / 16.36 MB, free: 5.961 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.001554/0.001554, allocations: 197.1 kB / 17.3 MB, free: 5.578 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.00154/0.00154, allocations: 71.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2409, allocations: 114.5 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001995/0.243, allocations: 0.6829 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2444, allocations: 1.156 MB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.2445, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.2445, allocations: 3.938 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2446, allocations: 15.86 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.2451, allocations: 142.6 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2453, allocations: 147.8 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.2454, allocations: 11.98 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.2455, allocations: 59.89 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2456, allocations: 55.84 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.2456, allocations: 12 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.2457, allocations: 27.94 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.2458, allocations: 19.97 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.2459, allocations: 55.83 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.246, allocations: 131.6 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2461, allocations: 3.984 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2461, allocations: 0 / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2461, allocations: 0 / 0.7873 GB, free: 0.6055 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.0005796/0.2467, allocations: 421 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2467, allocations: 8.031 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.2468, allocations: 12.84 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3681/0.6149, allocations: 204.4 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.615, allocations: 5.281 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.615, allocations: 14.27 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.6152, allocations: 89.61 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6152, allocations: 0 / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.6153, allocations: 5.5 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6153, allocations: 4.875 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.173e-05/0.6154, allocations: 40.98 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.6159, allocations: 355.6 kB / 0.7884 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6161, allocations: 94.25 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.6162, allocations: 42.23 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.6162, allocations: 3.938 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.6165, allocations: 128 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.6165, allocations: 0 / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0003503/0.6168, allocations: 204.3 kB / 0.7888 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.6169, allocations: 60.56 kB / 0.7889 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.6169, allocations: 112.9 kB / 0.789 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.617, allocations: 34.39 kB / 0.789 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.617, allocations: 90.67 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.617, allocations: 30.73 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.6171, allocations: 46.91 kB / 0.7892 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.6172, allocations: 318 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.6173, allocations: 46.8 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6174, allocations: 90.23 kB / 0.7896 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.6176, allocations: 136.9 kB / 0.7897 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6176, allocations: 2.969 kB / 0.7897 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002789/0.6178, allocations: 215.5 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.6179, allocations: 37.41 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6179, allocations: 2.625 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6179, allocations: 1.062 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.618, allocations: 13.25 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.618, allocations: 5.312 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.6182, allocations: 38.2 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.6182, allocations: 11.55 kB / 0.79 GB, free: 47.58 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 7.989e-05/0.6183, allocations: 134.4 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.6183, allocations: 14.22 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.6184, allocations: 10.55 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6184, allocations: 2.625 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6184, allocations: 0 / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6184, allocations: 0 / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.6187, allocations: 436.1 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6187, allocations: 1.656 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.6187, allocations: 6.188 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6188, allocations: 0 / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6188, allocations: 5.078 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6188, allocations: 0.5312 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6188, allocations: 5.484 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.619, allocations: 265.6 kB / 0.7909 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.619, allocations: 83.42 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.6191, allocations: 7.094 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.6191, allocations: 6.797 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.6192, allocations: 20.52 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.6192, allocations: 8.625 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.5e-05/0.6192, allocations: 84.55 kB / 0.7911 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6193, allocations: 0.5312 kB / 0.7911 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002647/0.6195, allocations: 35.94 kB / 0.7911 GB, free: 46.85 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.0001448/0.6197, allocations: 118.7 kB / 0.7912 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.62, allocations: 196.8 kB / 0.7914 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.62, allocations: 1.219 kB / 0.7914 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.6201, allocations: 74.64 kB / 0.7915 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.6203, allocations: 15.77 kB / 0.7915 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.6207, allocations: 196.6 kB / 0.7917 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.6208, allocations: 0.6927 MB / 0.7924 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.6208, allocations: 11.75 kB / 0.7924 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.6209, allocations: 14.53 kB / 0.7924 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.6209, allocations: 0 / 0.7924 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003957/0.6248, allocations: 1.636 MB / 0.794 GB, free: 45.83 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)