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.001524/0.001524, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001625/0.001625, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.444/2.444, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.92 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2707, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003493/0.2742, allocations: 2.531 MB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.2766, allocations: 1.563 MB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.2769, allocations: 7.938 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.2775, allocations: 303.1 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006148/0.2781, allocations: 311 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.2791, allocations: 404.6 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007391/0.2798, allocations: 0.7128 MB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.28, allocations: 77.72 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.2804, allocations: 330.6 kB / 1.059 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.2808, allocations: 334.6 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.2809, allocations: 32 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2811, allocations: 87.97 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2812, allocations: 195.3 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.2815, allocations: 278.1 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.2821, allocations: 0.7359 MB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2821, allocations: 0 / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2821, allocations: 0 / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.2821, allocations: 0 / 1.06 GB, free: 0.7305 MB / 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.001377/0.2835, allocations: 0.9963 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2835, allocations: 8.625 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.2836, allocations: 46.73 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2837, allocations: 80 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.2845, allocations: 0.6249 MB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2846, allocations: 12.12 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2846, allocations: 16 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.2849, allocations: 191.2 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.285, allocations: 11.94 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.285, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.285, allocations: 4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2852, allocations: 95.88 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2864, allocations: 1.067 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.287, allocations: 281 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.2872, allocations: 104.2 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2873, allocations: 11.98 kB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/0.2876, allocations: 216.1 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2876, allocations: 4 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0008618/0.2885, allocations: 416.5 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2886, allocations: 178 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.2896, allocations: 1.036 MB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2897, allocations: 33.7 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2899, allocations: 292.8 kB / 1.066 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.29, allocations: 71.09 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2901, allocations: 138.2 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.2902, allocations: 326 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.2906, allocations: 217.2 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.291, allocations: 303 kB / 1.067 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.2916, allocations: 405.1 kB / 1.067 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2916, allocations: 4 kB / 1.067 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001015/0.2926, allocations: 0.6806 MB / 1.068 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2926, allocations: 9.875 kB / 1.068 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2926, allocations: 0 / 1.068 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2927, allocations: 8 kB / 1.068 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.293, allocations: 119.8 kB / 1.068 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.293, allocations: 4.156 kB / 1.068 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.2933, allocations: 43.67 kB / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.2934, allocations: 27.98 kB / 1.068 GB, free: 8.316 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.0002524/0.2936, allocations: 269.7 kB / 1.068 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.2937, allocations: 75.14 kB / 1.068 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2938, allocations: 73.88 kB / 1.068 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2938, allocations: 7.938 kB / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2938, allocations: 0 / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2939, allocations: 4 kB / 1.068 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.2942, allocations: 473.1 kB / 1.069 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2942, allocations: 4 kB / 1.069 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.2943, allocations: 19.94 kB / 1.069 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.2943, allocations: 0 / 1.069 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2943, allocations: 15.98 kB / 1.069 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2944, allocations: 3.938 kB / 1.069 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2944, allocations: 0 / 1.069 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.2949, allocations: 394.5 kB / 1.069 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.2951, allocations: 164.1 kB / 1.069 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.2952, allocations: 8 kB / 1.069 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2953, allocations: 23.91 kB / 1.069 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.2954, allocations: 23.98 kB / 1.069 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2954, allocations: 15.92 kB / 1.069 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000628/0.2961, allocations: 0.6044 MB / 1.07 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2961, allocations: 0 / 1.07 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003862/0.2965, allocations: 108 kB / 1.07 GB, free: 5.961 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.001764/0.2982, allocations: 1.322 MB / 1.071 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000697/0.2989, allocations: 415.5 kB / 1.072 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.299, allocations: 0 / 1.072 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.2992, allocations: 104.2 kB / 1.072 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008199/0.3, allocations: 217.4 kB / 1.072 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/0.3072, allocations: 6.098 MB / 1.078 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3076, allocations: 0.9284 MB / 1.079 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.3079, allocations: 108.9 kB / 1.079 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3082, allocations: 239.3 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3082, allocations: 0 / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.566/1.874, allocations: 13.19 MB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/1.874, allocations: 288.5 kB / 1.092 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/3.993, allocations: 0 / 1.092 GB, free: 15.14 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)