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.001125/0.001125, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001364/0.001364, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.725/1.725, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0007374/0.0007374, allocations: 16.19 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2693, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0009939/0.2704, allocations: 406.5 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2719, allocations: 1.115 MB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.2719, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.272, allocations: 3.984 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.2721, allocations: 15.92 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.2725, allocations: 122.5 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2727, allocations: 75.84 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2728, allocations: 8 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2729, allocations: 51.88 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2731, allocations: 43.83 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2731, allocations: 12 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.2732, allocations: 15.98 kB / 0.7891 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.2732, allocations: 19.97 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.2733, allocations: 41.64 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2735, allocations: 100 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2735, allocations: 0 / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2735, allocations: 0 / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.2735, allocations: 0 / 0.7892 GB, free: 9.828 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.000725/0.2742, allocations: 400.9 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.2743, allocations: 8.031 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.2744, allocations: 34.56 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.2744, allocations: 7.906 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.2749, allocations: 218.9 kB / 0.7898 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2749, allocations: 8 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.275, allocations: 15.98 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2752, allocations: 93.58 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2752, allocations: 0 / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2752, allocations: 3.984 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2752, allocations: 4 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.2753, allocations: 39.97 kB / 0.79 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.276, allocations: 368.5 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.2761, allocations: 94.53 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.2762, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.2765, allocations: 127.5 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2765, allocations: 7.875 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004041/0.2769, allocations: 200.8 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.2769, allocations: 59.41 kB / 0.7908 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.277, allocations: 109.8 kB / 0.7909 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2771, allocations: 37.69 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.2772, allocations: 92.05 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.2772, allocations: 23.7 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.2772, allocations: 12 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2774, allocations: 314.8 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.2775, allocations: 47.97 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.2776, allocations: 84.2 kB / 0.7915 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.2777, allocations: 81.62 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2778, allocations: 4 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003188/0.2781, allocations: 207.1 kB / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.2781, allocations: 37.69 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2781, allocations: 0 / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2782, allocations: 4 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.2782, allocations: 8 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2782, allocations: 3.953 kB / 0.7918 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.2784, allocations: 55.94 kB / 0.7919 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2785, allocations: 11.98 kB / 0.7919 GB, free: 6.797 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.2786, allocations: 125.8 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.2786, allocations: 11.89 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.2787, allocations: 12.5 kB / 0.7921 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2787, allocations: 4 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2787, allocations: 0 / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2787, allocations: 3.953 kB / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.2792, allocations: 430.5 kB / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2792, allocations: 0 / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.2792, allocations: 7.938 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2792, allocations: 0 / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2792, allocations: 11.98 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2792, allocations: 0 / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2792, allocations: 3.953 kB / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2795, allocations: 258.9 kB / 0.7927 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.2796, allocations: 88.94 kB / 0.7928 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.2796, allocations: 8 kB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.2797, allocations: 11.92 kB / 0.7928 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.2798, allocations: 23.94 kB / 0.7929 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2798, allocations: 11.98 kB / 0.7929 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.2798, allocations: 87.28 kB / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2798, allocations: 0 / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002617/0.2801, allocations: 35.98 kB / 0.793 GB, free: 5.586 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000694/0.2808, allocations: 0.8085 MB / 0.7938 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.2811, allocations: 187.2 kB / 0.794 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2811, allocations: 0 / 0.794 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2813, allocations: 67.98 kB / 0.794 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.2815, allocations: 14.73 kB / 0.794 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2826, allocations: 1.042 MB / 0.7951 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.2829, allocations: 0.704 MB / 0.7957 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.2829, allocations: 8.547 kB / 0.7958 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.283, allocations: 29.92 kB / 0.7958 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.283, allocations: 0 / 0.7958 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.2961, allocations: 2.385 MB / 0.7981 GB, free: 412 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.2963, allocations: 200.8 kB / 0.7983 GB, free: 164 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.248, allocations: 0 / 0.7983 GB, free: 164 kB / 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/linux/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) Environment - environmentSimulation: