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.001166/0.001166, 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.001241/0.001241, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.314/2.314, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5334, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003339/0.5368, allocations: 2.516 MB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.539, allocations: 1.564 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.5392, allocations: 11.88 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.5397, allocations: 311.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.5402, allocations: 295 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.541, allocations: 414.4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.5416, allocations: 0.709 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.5418, allocations: 81.72 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.5421, allocations: 326.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.5424, allocations: 338.7 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.5425, allocations: 28 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.5426, allocations: 95.89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.5428, allocations: 195.3 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.543, allocations: 274.1 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.5436, allocations: 0.734 MB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5436, allocations: 0 / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5436, allocations: 0 / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5436, allocations: 0 / 1.025 GB, free: 10.96 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.001285/0.5449, allocations: 0.9989 MB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.545, allocations: 12.03 kB / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.545, allocations: 42.73 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5451, allocations: 76 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.5459, allocations: 0.6211 MB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.5459, allocations: 16.12 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.546, allocations: 11.98 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.5463, allocations: 211.2 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5463, allocations: 0 / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.5464, allocations: 0 / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5464, allocations: 7.938 kB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.5466, allocations: 99.88 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.5478, allocations: 1.059 MB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.5484, allocations: 277 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.5486, allocations: 104.2 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.5486, allocations: 11.98 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.549, allocations: 212.2 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.522e-06/0.549, allocations: 4 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008841/0.5499, allocations: 429.6 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.55, allocations: 162.2 kB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5511, allocations: 1.04 MB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5511, allocations: 33.7 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.5514, allocations: 288.8 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.5514, allocations: 87.08 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.5516, allocations: 138.2 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5517, allocations: 330 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.5521, allocations: 209.2 kB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.5525, allocations: 307 kB / 1.031 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.5531, allocations: 410 kB / 1.032 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5531, allocations: 4 kB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001052/0.5542, allocations: 0.6718 MB / 1.032 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5542, allocations: 4.156 kB / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5542, allocations: 8 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5543, allocations: 4 kB / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.5546, allocations: 119.8 kB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5547, allocations: 4 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.5549, allocations: 39.81 kB / 1.032 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.555, allocations: 20 kB / 1.032 GB, free: 2.559 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.0002728/0.5552, allocations: 281.5 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.5553, allocations: 75.06 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.5555, allocations: 77.86 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5555, allocations: 7.938 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5555, allocations: 4 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5555, allocations: 0 / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.5559, allocations: 457.2 kB / 1.033 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5559, allocations: 0 / 1.033 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.556, allocations: 23.98 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.556, allocations: 4 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.556, allocations: 7.984 kB / 1.033 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.556, allocations: 12 kB / 1.033 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.556, allocations: 7.938 kB / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.5566, allocations: 398.7 kB / 1.034 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.5568, allocations: 156.2 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.5569, allocations: 12 kB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.557, allocations: 19.92 kB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.5571, allocations: 19.97 kB / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.5571, allocations: 23.92 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006786/0.5578, allocations: 0.6005 MB / 1.035 GB, free: 304 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5578, allocations: 3.938 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003818/0.5582, allocations: 115.9 kB / 1.035 GB, free: 184 kB / 0.7794 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.001933/0.5602, allocations: 1.31 MB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007334/0.5609, allocations: 419.5 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5609, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.5611, allocations: 107.8 kB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.562, allocations: 223.8 kB / 1.037 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.5693, allocations: 6.1 MB / 1.043 GB, free: 7.988 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.5698, allocations: 0.9323 MB / 1.043 GB, free: 7.027 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002537/0.57, allocations: 108.9 kB / 1.044 GB, free: 6.918 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.5703, allocations: 231.3 kB / 1.044 GB, free: 6.691 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.5703, allocations: 4 kB / 1.044 GB, free: 6.688 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.5935, allocations: 13.2 MB / 1.057 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/0.5938, allocations: 278.5 kB / 1.057 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.455, allocations: 0 / 1.057 GB, free: 9.391 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)