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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001081/0.001081, allocations: 191.6 kB / 16.13 MB, free: 6.691 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 68.97 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2336, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003356/0.2369, allocations: 2.524 MB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2393, allocations: 1.567 MB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.2395, allocations: 11.88 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.2401, allocations: 299.1 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.2406, allocations: 311 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.2414, allocations: 408.8 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.2421, allocations: 0.6621 MB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2423, allocations: 73.73 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.2426, allocations: 294.5 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.2429, allocations: 310.7 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.243, allocations: 12 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.2432, allocations: 75.89 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2433, allocations: 183.3 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.2436, allocations: 246.2 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.2441, allocations: 0.7163 MB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2441, allocations: 4 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2441, allocations: 0 / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.2442, allocations: 0 / 1.06 GB, free: 488 kB / 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.001345/0.2455, allocations: 0.9951 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2456, allocations: 16.03 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.2456, allocations: 42.73 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.2457, allocations: 72 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.2465, allocations: 0.625 MB / 1.061 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2465, allocations: 16.12 kB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2466, allocations: 12 kB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.2469, allocations: 203.8 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.247, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.247, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.247, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.2472, allocations: 103.9 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.2484, allocations: 1.059 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.249, allocations: 284.9 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2492, allocations: 100.2 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.2493, allocations: 8 kB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.2496, allocations: 219.5 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.2497, allocations: 0 / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0009089/0.2506, allocations: 420.5 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.2506, allocations: 170.1 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.2517, allocations: 1.028 MB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2518, allocations: 37.7 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.252, allocations: 292.8 kB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.2521, allocations: 79.08 kB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.2522, allocations: 138.2 kB / 1.065 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2523, allocations: 334 kB / 1.066 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.2527, allocations: 218.4 kB / 1.066 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.2531, allocations: 303 kB / 1.066 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.2537, allocations: 415.8 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2538, allocations: 4 kB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001037/0.2548, allocations: 0.6637 MB / 1.067 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2548, allocations: 8 kB / 1.067 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2548, allocations: 4 kB / 1.067 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2549, allocations: 4.156 kB / 1.067 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.2552, allocations: 123.8 kB / 1.067 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2553, allocations: 4 kB / 1.067 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.2555, allocations: 47.67 kB / 1.068 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.2556, allocations: 27.98 kB / 1.068 GB, free: 8.059 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.0002603/0.2558, allocations: 273.6 kB / 1.068 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.2559, allocations: 67.16 kB / 1.068 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2561, allocations: 69.89 kB / 1.068 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2561, allocations: 11.94 kB / 1.068 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2561, allocations: 4 kB / 1.068 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2561, allocations: 7.969 kB / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.2565, allocations: 461.1 kB / 1.068 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2565, allocations: 0 / 1.068 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.2566, allocations: 27.92 kB / 1.068 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2566, allocations: 4 kB / 1.068 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2566, allocations: 4 kB / 1.068 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2566, allocations: 3.938 kB / 1.068 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2566, allocations: 4 kB / 1.068 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.2572, allocations: 392.9 kB / 1.069 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.2574, allocations: 160.1 kB / 1.069 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.2575, allocations: 11.98 kB / 1.069 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2576, allocations: 23.92 kB / 1.069 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.2577, allocations: 27.97 kB / 1.069 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2577, allocations: 12 kB / 1.069 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006622/0.2584, allocations: 0.6005 MB / 1.07 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2584, allocations: 3.938 kB / 1.07 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004014/0.2588, allocations: 116 kB / 1.07 GB, free: 5.699 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.001818/0.2606, allocations: 1.324 MB / 1.071 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006896/0.2613, allocations: 387.7 kB / 1.071 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2613, allocations: 4.312 kB / 1.071 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.2616, allocations: 107.8 kB / 1.071 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.2624, allocations: 196.4 kB / 1.072 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.2699, allocations: 6.101 MB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.2703, allocations: 0.9249 MB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.2706, allocations: 116.9 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.2709, allocations: 231.3 kB / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.2709, allocations: 0 / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2939, allocations: 12.89 MB / 1.091 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.2942, allocations: 285.3 kB / 1.092 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.137, allocations: 0 / 1.092 GB, free: 15.23 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)