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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001133, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.281/2.281, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4965, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003262/0.4998, allocations: 2.505 MB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.5021, allocations: 1.568 MB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.5024, allocations: 11.88 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.5028, allocations: 303.2 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.5033, allocations: 306.9 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.5041, allocations: 409.6 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.5046, allocations: 0.6582 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.5048, allocations: 81.72 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.5051, allocations: 290.5 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.5053, allocations: 310.7 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.5054, allocations: 12 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.5055, allocations: 71.95 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.5057, allocations: 179.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.5059, allocations: 254.1 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.5064, allocations: 0.7145 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.5064, allocations: 3.938 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5064, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5064, allocations: 0 / 1.024 GB, free: 11.11 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.001206/0.5077, allocations: 1.003 MB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.5077, allocations: 8.031 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.5077, allocations: 50.67 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.5078, allocations: 75.94 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.5086, allocations: 0.6173 MB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5086, allocations: 12.12 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.5086, allocations: 16 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.509, allocations: 203.2 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.509, allocations: 0 / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.509, allocations: 8 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.509, allocations: 4 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.5093, allocations: 99.88 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5104, allocations: 1.052 MB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.5109, allocations: 277 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.5111, allocations: 108.2 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.5111, allocations: 11.94 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/0.5115, allocations: 224.1 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.5115, allocations: 0 / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008491/0.5124, allocations: 416.5 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.5124, allocations: 162.2 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5134, allocations: 1.04 MB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.5135, allocations: 37.7 kB / 1.029 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5137, allocations: 292.8 kB / 1.03 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.5137, allocations: 79.08 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.5139, allocations: 138.2 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.514, allocations: 326 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.5143, allocations: 213.2 kB / 1.03 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.5147, allocations: 319 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.5153, allocations: 403.4 kB / 1.031 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5153, allocations: 0 / 1.031 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001006/0.5164, allocations: 0.673 MB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5164, allocations: 7.984 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5164, allocations: 5.25 kB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5164, allocations: 4 kB / 1.032 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.5168, allocations: 115.8 kB / 1.032 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5168, allocations: 15.92 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.517, allocations: 31.83 kB / 1.032 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.5171, allocations: 24 kB / 1.032 GB, free: 2.703 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.0002703/0.5174, allocations: 288.9 kB / 1.032 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.5175, allocations: 75.06 kB / 1.032 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/0.5176, allocations: 73.88 kB / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5176, allocations: 7.938 kB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5176, allocations: 0 / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5176, allocations: 0 / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.518, allocations: 473.1 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.518, allocations: 4 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.518, allocations: 16 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.518, allocations: 0 / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5181, allocations: 15.98 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.5181, allocations: 11.88 kB / 1.033 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5181, allocations: 0 / 1.033 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.5187, allocations: 387.5 kB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.5188, allocations: 164 kB / 1.033 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.5189, allocations: 12 kB / 1.033 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.5191, allocations: 23.91 kB / 1.033 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.5192, allocations: 15.92 kB / 1.034 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.5192, allocations: 19.98 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006213/0.5198, allocations: 0.6044 MB / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5198, allocations: 4 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000374/0.5202, allocations: 112 kB / 1.034 GB, free: 332 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.001748/0.522, allocations: 1.308 MB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006472/0.5226, allocations: 411.5 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5226, allocations: 0 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.5228, allocations: 103.9 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.5236, allocations: 207.3 kB / 1.036 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006911/0.5306, allocations: 6.095 MB / 1.042 GB, free: 8.156 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.531, allocations: 0.9288 MB / 1.043 GB, free: 7.199 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002444/0.5312, allocations: 108.9 kB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5315, allocations: 239.3 kB / 1.043 GB, free: 6.855 MB / 0.795 GB Notification: Performance of SimCode: time 3.9e-07/0.5315, allocations: 0 / 1.043 GB, free: 6.855 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.5531, allocations: 12.88 MB / 1.056 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.5534, allocations: 282.3 kB / 1.056 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.326, allocations: 1.406 kB / 1.056 GB, free: 9.859 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)