Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 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.001204/0.001204, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.27 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2398, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003522/0.2434, allocations: 2.479 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.2458, allocations: 1.575 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2459, allocations: 15.88 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.2465, allocations: 326.8 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.247, allocations: 334.6 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.2478, allocations: 438.7 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006638/0.2485, allocations: 0.7051 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.2486, allocations: 85.7 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.249, allocations: 310.8 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.2493, allocations: 322.7 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.2494, allocations: 32 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.2496, allocations: 87.95 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.2498, allocations: 191.3 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.25, allocations: 274.1 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.2507, allocations: 0.7281 MB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2507, allocations: 4 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2507, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2507, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 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.001323/0.252, allocations: 0.999 MB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2521, allocations: 12.03 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.2521, allocations: 50.67 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2522, allocations: 72 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.2531, allocations: 0.6211 MB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2531, allocations: 16.12 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.2531, allocations: 12 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.2535, allocations: 201.8 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2535, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2535, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2536, allocations: 4 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2538, allocations: 99.86 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.255, allocations: 1.059 MB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.2556, allocations: 277 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.2558, allocations: 104.2 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2559, allocations: 8 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.2563, allocations: 232.6 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 3.126e-06/0.2563, allocations: 7.922 kB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0009191/0.2572, allocations: 421.6 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.2573, allocations: 166.1 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.2585, allocations: 1.028 MB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2585, allocations: 41.64 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2588, allocations: 292.8 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.2588, allocations: 75.08 kB / 1.077 GB, free: 192 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.259, allocations: 142.1 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2592, allocations: 330 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.2595, allocations: 217.2 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.26, allocations: 307 kB / 1.078 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.2606, allocations: 406.6 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2606, allocations: 4 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001089/0.2617, allocations: 0.6701 MB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2618, allocations: 8 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2618, allocations: 4 kB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2618, allocations: 4 kB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.2622, allocations: 119.8 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2622, allocations: 7.938 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2624, allocations: 43.67 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.2625, allocations: 23.98 kB / 1.08 GB, free: 13.87 MB / 0.8419 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.0002783/0.2627, allocations: 277.6 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.2628, allocations: 71.06 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2629, allocations: 69.89 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.263, allocations: 7.938 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.263, allocations: 4 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.263, allocations: 3.984 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.2634, allocations: 461.2 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2634, allocations: 0 / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.2635, allocations: 19.98 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2635, allocations: 4.125 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.2635, allocations: 16 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2635, allocations: 7.875 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2635, allocations: 4 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.2642, allocations: 385.4 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2644, allocations: 164.1 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.2644, allocations: 11.98 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2646, allocations: 19.92 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2646, allocations: 27.91 kB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.2647, allocations: 12 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007516/0.2654, allocations: 0.6044 MB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2654, allocations: 7.938 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003664/0.2658, allocations: 112 kB / 1.082 GB, free: 11.51 MB / 0.8419 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.002403/0.2682, allocations: 1.315 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007446/0.269, allocations: 417.8 kB / 1.083 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.269, allocations: 0 / 1.083 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.2692, allocations: 111.8 kB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.27, allocations: 212.5 kB / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.2772, allocations: 5.982 MB / 1.09 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.2778, allocations: 0.9323 MB / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.278, allocations: 112.9 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.2783, allocations: 239.3 kB / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2783, allocations: 0 / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7238/1.002, allocations: 13.37 MB / 1.104 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.03, allocations: 11.05 kB / 1.104 GB, free: 4.996 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)