Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime",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.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 196.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.17 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2695, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003623/0.2732, allocations: 2.483 MB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.2757, allocations: 1.579 MB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.2759, allocations: 7.938 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005924/0.2765, allocations: 334.8 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005672/0.2771, allocations: 326.7 kB / 1.058 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.278, allocations: 448.3 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.2787, allocations: 0.7012 MB / 1.059 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.2789, allocations: 81.72 kB / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.2793, allocations: 314.7 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.2797, allocations: 322.7 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.2798, allocations: 28 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.28, allocations: 95.89 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.2802, allocations: 191.3 kB / 1.06 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2804, allocations: 262.2 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.2812, allocations: 0.7359 MB / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2812, allocations: 0 / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2812, allocations: 0 / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.2812, allocations: 0 / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001626/0.2829, allocations: 1.003 MB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2829, allocations: 8.625 kB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.283, allocations: 46.73 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2831, allocations: 72 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.284, allocations: 0.6288 MB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.284, allocations: 12.12 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.284, allocations: 8 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.2844, allocations: 207.1 kB / 1.063 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2844, allocations: 0 / 1.063 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.2845, allocations: 7.984 kB / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2845, allocations: 4 kB / 1.063 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2847, allocations: 99.88 kB / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.286, allocations: 1.063 MB / 1.064 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.2866, allocations: 277 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2868, allocations: 104.2 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2868, allocations: 8 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.2872, allocations: 220.1 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.2872, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0009244/0.2881, allocations: 416.5 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.2882, allocations: 170.1 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.2894, allocations: 1.036 MB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2894, allocations: 37.64 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2897, allocations: 292.8 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.2897, allocations: 83.08 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.2899, allocations: 138.2 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2901, allocations: 326 kB / 1.067 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.2904, allocations: 210.5 kB / 1.067 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.2909, allocations: 311 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/0.2915, allocations: 413.1 kB / 1.068 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2915, allocations: 0 / 1.068 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001128/0.2927, allocations: 0.6679 MB / 1.068 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2927, allocations: 8.156 kB / 1.068 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2927, allocations: 4 kB / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2927, allocations: 4 kB / 1.068 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.2931, allocations: 119.8 kB / 1.068 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.2931, allocations: 8 kB / 1.068 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2934, allocations: 35.77 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.2935, allocations: 31.98 kB / 1.068 GB, free: 7.938 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002704/0.2937, allocations: 269.6 kB / 1.069 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2939, allocations: 79.05 kB / 1.069 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.294, allocations: 73.89 kB / 1.069 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.294, allocations: 7.938 kB / 1.069 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.294, allocations: 0 / 1.069 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.294, allocations: 3.984 kB / 1.069 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.2944, allocations: 465.1 kB / 1.069 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2945, allocations: 4 kB / 1.069 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.2945, allocations: 23.94 kB / 1.069 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2945, allocations: 0 / 1.069 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2946, allocations: 7.984 kB / 1.069 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2946, allocations: 11.94 kB / 1.069 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2946, allocations: 0 / 1.069 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.2952, allocations: 394.5 kB / 1.07 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.2954, allocations: 160.1 kB / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.2954, allocations: 16 kB / 1.07 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2956, allocations: 23.91 kB / 1.07 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.2957, allocations: 19.97 kB / 1.07 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2957, allocations: 19.94 kB / 1.07 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006915/0.2964, allocations: 0.6005 MB / 1.071 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2964, allocations: 0 / 1.071 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004053/0.2968, allocations: 116 kB / 1.071 GB, free: 5.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00183/0.2987, allocations: 1.307 MB / 1.072 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007458/0.2994, allocations: 423 kB / 1.072 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2994, allocations: 0 / 1.072 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.2997, allocations: 103.9 kB / 1.072 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.3006, allocations: 222.2 kB / 1.073 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/0.3086, allocations: 5.991 MB / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.3092, allocations: 0.9246 MB / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002956/0.3095, allocations: 116.9 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.3098, allocations: 235.3 kB / 1.08 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of SimCode: time 3.316e-06/0.3098, allocations: 4 kB / 1.08 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.3424, allocations: 13.36 MB / 1.093 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.4, allocations: 14.66 kB / 1.093 GB, free: 15.04 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)