Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001039/0.001039, allocations: 104 kB / 15.6 MB, free: 148 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.001809/0.001809, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.8694 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/0.5821, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003593/0.5857, allocations: 2.481 MB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.5883, allocations: 1.575 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.5886, allocations: 11.88 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.5892, allocations: 318.9 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.5898, allocations: 338.6 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000977/0.5908, allocations: 442.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007553/0.5916, allocations: 0.7051 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.5918, allocations: 81.72 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.5922, allocations: 314.8 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.5926, allocations: 322.7 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.5927, allocations: 28 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.5929, allocations: 87.95 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.5931, allocations: 195.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.5934, allocations: 270.1 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.5941, allocations: 0.734 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5941, allocations: 0 / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5941, allocations: 3.938 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.5941, allocations: 0 / 1.025 GB, free: 10.55 MB / 0.7794 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.001542/0.5957, allocations: 1.003 MB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5957, allocations: 8.031 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.5958, allocations: 42.73 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.5959, allocations: 80 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.5968, allocations: 0.6212 MB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.5968, allocations: 12.12 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.5968, allocations: 19.94 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.5972, allocations: 195.3 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5972, allocations: 7.984 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.5973, allocations: 8 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5973, allocations: 4 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.5975, allocations: 95.88 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.5989, allocations: 1.056 MB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.5995, allocations: 281 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.5997, allocations: 104.2 kB / 1.029 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.5998, allocations: 7.938 kB / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.6002, allocations: 222.5 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.6002, allocations: 0 / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001022/0.6012, allocations: 413.5 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.6013, allocations: 174.1 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.6025, allocations: 1.032 MB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.6026, allocations: 37.7 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.6028, allocations: 296.8 kB / 1.031 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.6029, allocations: 83.02 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.6031, allocations: 134.2 kB / 1.031 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6032, allocations: 333.9 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.6036, allocations: 213.2 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.604, allocations: 307 kB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.6047, allocations: 413 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6047, allocations: 0 / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001195/0.6059, allocations: 0.6757 MB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6059, allocations: 8 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.606, allocations: 4 kB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.606, allocations: 4 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.6064, allocations: 119.8 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.6064, allocations: 8 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.6067, allocations: 39.98 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.6068, allocations: 27.98 kB / 1.033 GB, free: 2.133 MB / 0.7794 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.0003213/0.6071, allocations: 273.6 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6073, allocations: 79.05 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.6074, allocations: 69.89 kB / 1.033 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6074, allocations: 7.938 kB / 1.033 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6074, allocations: 0 / 1.033 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6075, allocations: 7.984 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.608, allocations: 461.2 kB / 1.034 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.608, allocations: 4 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.608, allocations: 19.94 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6081, allocations: 0 / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.6081, allocations: 11.98 kB / 1.034 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6081, allocations: 7.938 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.6081, allocations: 0 / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.6088, allocations: 399.4 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.609, allocations: 156.2 kB / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.6091, allocations: 8 kB / 1.034 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.6093, allocations: 23.91 kB / 1.034 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.6093, allocations: 23.98 kB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.6094, allocations: 11.98 kB / 1.034 GB, free: 500 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007929/0.6102, allocations: 0.6044 MB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.713e-06/0.6102, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004661/0.6107, allocations: 123.8 kB / 1.035 GB, free: 15.77 MB / 0.795 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.002078/0.6127, allocations: 1.303 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008123/0.6136, allocations: 414.1 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6136, allocations: 0 / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6138, allocations: 112.6 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009578/0.6148, allocations: 224.6 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.6225, allocations: 5.988 MB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.623, allocations: 0.9323 MB / 1.044 GB, free: 6.727 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002973/0.6233, allocations: 116.9 kB / 1.044 GB, free: 6.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.6236, allocations: 231.3 kB / 1.044 GB, free: 6.387 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/0.6236, allocations: 3.938 kB / 1.044 GB, free: 6.383 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/0.7286, allocations: 13.36 MB / 1.057 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.522, allocations: 14.12 kB / 1.057 GB, free: 9.273 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)