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.001301/0.001301, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001079/0.00108, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.834/1.834, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001447/0.001447, allocations: 68.47 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2328, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001979/0.2348, allocations: 0.6789 MB / 0.7847 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2363, allocations: 1.152 MB / 0.7858 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.2364, allocations: 0 / 0.7858 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.2364, allocations: 7.938 kB / 0.7858 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.2365, allocations: 11.92 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.2371, allocations: 141 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.2373, allocations: 143.8 kB / 0.7861 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2374, allocations: 15.97 kB / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.2375, allocations: 51.91 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2376, allocations: 59.73 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.2376, allocations: 12 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.2377, allocations: 27.98 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.2377, allocations: 15.98 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.2378, allocations: 51.83 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.238, allocations: 127.9 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2381, allocations: 4 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2381, allocations: 0 / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2381, allocations: 0 / 0.7865 GB, free: 1.305 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.0006086/0.2387, allocations: 417.1 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2387, allocations: 12.03 kB / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.2388, allocations: 8.844 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.2392, allocations: 212.5 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.2392, allocations: 8.312 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.2393, allocations: 24.23 kB / 0.7871 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.2395, allocations: 78.2 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2395, allocations: 3.938 kB / 0.7872 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2395, allocations: 7.984 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2395, allocations: 0 / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.2396, allocations: 39.97 kB / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.2402, allocations: 364.5 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3699/0.6101, allocations: 91.39 kB / 0.7877 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.6102, allocations: 37.47 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.6102, allocations: 2.625 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.6105, allocations: 132.1 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 3.016e-06/0.6106, allocations: 0 / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004206/0.611, allocations: 202.9 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.611, allocations: 57.19 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.6111, allocations: 108 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.6111, allocations: 34.83 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.6112, allocations: 96.27 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.6112, allocations: 26.03 kB / 0.7884 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.6113, allocations: 44.06 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.6114, allocations: 326.2 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.6115, allocations: 50.69 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6116, allocations: 85.78 kB / 0.7888 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.6118, allocations: 137.3 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6118, allocations: 0 / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003006/0.6121, allocations: 211.5 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.6121, allocations: 37.23 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6121, allocations: 1.406 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6122, allocations: 3.219 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.6122, allocations: 18.92 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.6123, allocations: 2.875 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.6125, allocations: 37.64 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.6125, allocations: 14.45 kB / 0.7893 GB, free: 47.82 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 8.142e-05/0.6126, allocations: 129.4 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.6126, allocations: 9.812 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.6126, allocations: 11.39 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.6127, allocations: 4.094 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6127, allocations: 2.375 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6127, allocations: 0 / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.613, allocations: 440.6 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.613, allocations: 0 / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.6131, allocations: 8.344 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6131, allocations: 0.5 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6131, allocations: 4.344 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6131, allocations: 0 / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6131, allocations: 6.469 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.6133, allocations: 260 kB / 0.7901 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.6134, allocations: 85.97 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.6134, allocations: 9.703 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.6135, allocations: 4.469 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.6135, allocations: 20.09 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6136, allocations: 12.77 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.6136, allocations: 83.33 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6136, allocations: 1.094 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002717/0.6139, allocations: 38.03 kB / 0.7904 GB, free: 47.09 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.0001555/0.614, allocations: 116.3 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.6143, allocations: 197.3 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6144, allocations: 0.5312 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.6145, allocations: 75.22 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6147, allocations: 14.66 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.6151, allocations: 218.9 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.6152, allocations: 0.692 MB / 0.7916 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.6153, allocations: 22.22 kB / 0.7917 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6153, allocations: 1.375 kB / 0.7917 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.002879/0.6182, allocations: 1.462 MB / 0.7931 GB, free: 46.03 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)