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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007592/0.0007592, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004521/0.004521, allocations: 170.7 kB / 16.27 MB, free: 6.656 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 19.98 kB / 0.873 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5247, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.002282/0.527, allocations: 2.154 MB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.5291, allocations: 1.541 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.5292, allocations: 7.875 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.5297, allocations: 311.2 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.5302, allocations: 295 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.5309, allocations: 422.4 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.5315, allocations: 0.6543 MB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.5317, allocations: 77.72 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.532, allocations: 294.5 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.5323, allocations: 302.7 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.5323, allocations: 15.98 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.5325, allocations: 71.91 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.5326, allocations: 171.3 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.5329, allocations: 279.8 kB / 1.03 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.5334, allocations: 0.6987 MB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5334, allocations: 0 / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5334, allocations: 0 / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5335, allocations: 0 / 1.03 GB, free: 8.539 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.00122/0.5347, allocations: 0.9037 MB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.5347, allocations: 8.031 kB / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.5348, allocations: 42.73 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.5349, allocations: 76 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.5357, allocations: 0.621 MB / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5357, allocations: 20.11 kB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.5357, allocations: 16 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.5361, allocations: 197.7 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5361, allocations: 7.938 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.5361, allocations: 4 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5361, allocations: 4 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.5364, allocations: 103.9 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.5375, allocations: 1.056 MB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.5381, allocations: 277 kB / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.5383, allocations: 104.3 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.5383, allocations: 7.984 kB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.5387, allocations: 224.7 kB / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.5387, allocations: 0 / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008586/0.5396, allocations: 424.4 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.5397, allocations: 166.2 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.5407, allocations: 1.032 MB / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.5408, allocations: 37.7 kB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.541, allocations: 284.9 kB / 1.036 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.541, allocations: 83.08 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.5411, allocations: 61.67 kB / 1.036 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.5412, allocations: 337.9 kB / 1.036 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.5416, allocations: 209.2 kB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.542, allocations: 311 kB / 1.037 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.5426, allocations: 409.6 kB / 1.037 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5426, allocations: 0 / 1.037 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001021/0.5436, allocations: 0.6779 MB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5437, allocations: 4 kB / 1.038 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5437, allocations: 5.25 kB / 1.038 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5437, allocations: 4 kB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.5441, allocations: 119.8 kB / 1.038 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.5441, allocations: 4 kB / 1.038 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.5443, allocations: 43.98 kB / 1.038 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.5444, allocations: 27.98 kB / 1.038 GB, free: 304 kB / 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.0002567/0.5447, allocations: 284.8 kB / 1.038 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/0.5448, allocations: 79.22 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.5449, allocations: 69.89 kB / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5449, allocations: 7.938 kB / 1.038 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5449, allocations: 0 / 1.038 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5449, allocations: 4 kB / 1.038 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.5453, allocations: 465.2 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5453, allocations: 4 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.5454, allocations: 20 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5454, allocations: 0 / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.5454, allocations: 11.98 kB / 1.039 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5454, allocations: 7.875 kB / 1.039 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5454, allocations: 7.938 kB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.546, allocations: 387.5 kB / 1.039 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.5462, allocations: 168.1 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.5462, allocations: 8 kB / 1.039 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.5464, allocations: 27.91 kB / 1.039 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.5465, allocations: 27.92 kB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.5465, allocations: 11.98 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006454/0.5471, allocations: 0.6044 MB / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5471, allocations: 0 / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003796/0.5475, allocations: 112 kB / 1.04 GB, free: 13.91 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.001729/0.5493, allocations: 1.311 MB / 1.041 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006732/0.5499, allocations: 403.3 kB / 1.042 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.55, allocations: 0 / 1.042 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.5502, allocations: 107.8 kB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.5511, allocations: 209.8 kB / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007091/0.5582, allocations: 6.101 MB / 1.048 GB, free: 5.734 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.5586, allocations: 0.9287 MB / 1.049 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.5589, allocations: 120.9 kB / 1.049 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.5592, allocations: 231.3 kB / 1.049 GB, free: 4.43 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.5592, allocations: 0 / 1.049 GB, free: 4.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05937/0.6185, allocations: 12.58 MB / 1.062 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/0.6188, allocations: 276.3 kB / 1.062 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.481, allocations: 0 / 1.062 GB, free: 7.754 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)