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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001104/0.001104, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.477/1.477, allocations: 205.1 MB / 222 MB, free: 4.777 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.59/1.59, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001345/0.001345, allocations: 69.34 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2094, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001699/0.2112, allocations: 0.7474 MB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2124, allocations: 1.161 MB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.2124, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.2125, allocations: 3.984 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.2125, allocations: 11.92 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.2129, allocations: 130.9 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.213, allocations: 127.8 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.888e-05/0.2131, allocations: 7.984 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.2132, allocations: 55.89 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.2133, allocations: 47.81 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.2133, allocations: 8 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.2134, allocations: 16 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.2134, allocations: 27.89 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.2135, allocations: 51.83 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2137, allocations: 127.9 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2137, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.82e-07/0.2137, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.2137, allocations: 0 / 0.7853 GB, free: 11.38 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.0005022/0.2142, allocations: 421 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2142, allocations: 8.031 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.2143, allocations: 34.69 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.2143, allocations: 16.92 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.2147, allocations: 216.4 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2147, allocations: 12.36 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.2147, allocations: 8.375 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2149, allocations: 93.88 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.2149, allocations: 0 / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2149, allocations: 4 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2149, allocations: 4 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.215, allocations: 39.97 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2155, allocations: 352.6 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2157, allocations: 102.5 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.2157, allocations: 40.84 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.2158, allocations: 4 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.216, allocations: 127.4 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.216, allocations: 96 / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0003355/0.2163, allocations: 197.5 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2164, allocations: 63.38 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2165, allocations: 117.8 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.2165, allocations: 33.7 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.2165, allocations: 84.14 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.2166, allocations: 31.61 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.2166, allocations: 41.7 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.2167, allocations: 326.8 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.2168, allocations: 47.97 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.217, allocations: 88.2 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2171, allocations: 140.8 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2171, allocations: 0 / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003206/0.2175, allocations: 211.2 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.2175, allocations: 33.7 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2175, allocations: 3.938 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2175, allocations: 4 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.2176, allocations: 11.94 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2176, allocations: 3.984 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2178, allocations: 39.81 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2178, allocations: 8.125 kB / 0.7881 GB, free: 8.184 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 8.772e-05/0.2179, allocations: 142.3 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.2179, allocations: 8 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.218, allocations: 8.5 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.218, allocations: 0 / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.218, allocations: 0 / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.218, allocations: 3.984 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.2184, allocations: 446.3 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2184, allocations: 0 / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.2184, allocations: 4 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2184, allocations: 0 / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2184, allocations: 4 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2184, allocations: 8 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2184, allocations: 3.984 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2187, allocations: 251.4 kB / 0.789 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.2187, allocations: 92.94 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2187, allocations: 8 kB / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.2188, allocations: 7.984 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.2189, allocations: 15.91 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2189, allocations: 15.94 kB / 0.7891 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.2189, allocations: 87.27 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2189, allocations: 0 / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002454/0.2192, allocations: 28 kB / 0.7892 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.0005089/0.2197, allocations: 0.8058 MB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.22, allocations: 195.2 kB / 0.7902 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.22, allocations: 0 / 0.7902 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.2201, allocations: 75.95 kB / 0.7902 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2204, allocations: 22.98 kB / 0.7903 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2219, allocations: 1.707 MB / 0.7919 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2222, allocations: 0.6884 MB / 0.7926 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.2222, allocations: 12.55 kB / 0.7926 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.2223, allocations: 27.42 kB / 0.7926 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2223, allocations: 0 / 0.7926 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.772/1.994, allocations: 2.515 MB / 0.7951 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.994, allocations: 218.3 kB / 0.7953 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/3.629, allocations: 5.188 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)