Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 182.4 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009695/0.0009694, allocations: 101.5 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003966, allocations: 17.42 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2696, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001098/0.2707, allocations: 398.8 kB / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2725, allocations: 1.115 MB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.2726, allocations: 0 / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2726, allocations: 3.938 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/0.2727, allocations: 11.95 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.2732, allocations: 125.7 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.2733, allocations: 75.91 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2735, allocations: 7.984 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.2735, allocations: 47.91 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.2736, allocations: 43.86 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2737, allocations: 8 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.2737, allocations: 23.98 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.2738, allocations: 11.98 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.2738, allocations: 45.64 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.274, allocations: 92 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.274, allocations: 0 / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.274, allocations: 0 / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.274, allocations: 4 kB / 0.9814 GB, free: 25.55 MB / 0.6198 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.0005679/0.2746, allocations: 396.9 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2746, allocations: 12.03 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.2747, allocations: 34.55 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.2747, allocations: 11.91 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.2751, allocations: 222.9 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.2752, allocations: 4 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2752, allocations: 12 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.2754, allocations: 89.62 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2754, allocations: 0 / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.2755, allocations: 7.984 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2755, allocations: 4 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2756, allocations: 39.91 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.2762, allocations: 376.5 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2764, allocations: 90.55 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2764, allocations: 7.938 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.2767, allocations: 119.3 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.2767, allocations: 4 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003915/0.2771, allocations: 206.8 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.2772, allocations: 55.41 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.2773, allocations: 113.8 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.2773, allocations: 33.7 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2774, allocations: 92.05 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2774, allocations: 27.84 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.2774, allocations: 4 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.2775, allocations: 326.8 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.2776, allocations: 47.91 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.2777, allocations: 84.95 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2778, allocations: 75.31 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2778, allocations: 0 / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002798/0.2781, allocations: 211.1 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.2781, allocations: 33.7 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2782, allocations: 0 / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2782, allocations: 8 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.2783, allocations: 11.98 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2783, allocations: 3.953 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2785, allocations: 59.88 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2785, allocations: 8 kB / 0.9842 GB, free: 22.51 MB / 0.6198 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 9.797e-05/0.2786, allocations: 126.7 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.2786, allocations: 7.906 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.2787, allocations: 8.5 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2787, allocations: 8 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.2787, allocations: 3.984 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2787, allocations: 3.953 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.2791, allocations: 434.4 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2791, allocations: 0 / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.2791, allocations: 4 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2791, allocations: 0 / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2791, allocations: 11.98 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2791, allocations: 0 / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2791, allocations: 7.953 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2794, allocations: 257.1 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.2794, allocations: 84.95 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.2794, allocations: 7.984 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.2795, allocations: 8 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.2796, allocations: 23.86 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2796, allocations: 15.98 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.2797, allocations: 79.28 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2797, allocations: 0 / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002594/0.2799, allocations: 36 kB / 0.9852 GB, free: 21.31 MB / 0.6198 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.0005001/0.2804, allocations: 0.8045 MB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.2807, allocations: 193.4 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2807, allocations: 0 / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.2808, allocations: 75.91 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.281, allocations: 7.984 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.2817, allocations: 1.038 MB / 0.9873 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.2819, allocations: 0.6924 MB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.238e-05/0.2819, allocations: 12.55 kB / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.282, allocations: 19.44 kB / 0.988 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.282, allocations: 4 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.2962, allocations: 2.406 MB / 0.9904 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.2964, allocations: 219 kB / 0.9906 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.781, allocations: 0 / 0.9906 GB, free: 15.87 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)