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.0009722/0.0009722, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007631/0.007631, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 16.75 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.002668/0.2657, allocations: 2.156 MB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2682, allocations: 1.536 MB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.2685, allocations: 11.88 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.2691, allocations: 303.2 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.2698, allocations: 307 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00093/0.2707, allocations: 410.3 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008154/0.2716, allocations: 0.6621 MB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2718, allocations: 77.72 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.2723, allocations: 282.6 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.2728, allocations: 310.6 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.2729, allocations: 12 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.2731, allocations: 67.97 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.2733, allocations: 187.3 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.2736, allocations: 275.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.2742, allocations: 0.7045 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2742, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2743, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.2743, allocations: 4 kB / 1.066 GB, free: 13.54 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.001427/0.2757, allocations: 0.8983 MB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2758, allocations: 12.03 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.2758, allocations: 42.73 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.276, allocations: 75.94 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.2769, allocations: 0.6172 MB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2769, allocations: 20.11 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.2769, allocations: 12 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.2773, allocations: 203.3 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2773, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.2774, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2774, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2776, allocations: 99.88 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2789, allocations: 1.059 MB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.2795, allocations: 277 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2797, allocations: 104.2 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.2798, allocations: 11.98 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.2801, allocations: 224.6 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.575e-06/0.2801, allocations: 8 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0009134/0.2811, allocations: 421.6 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.2812, allocations: 162.2 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.2823, allocations: 1.032 MB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.2824, allocations: 37.64 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.2826, allocations: 288.9 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.2827, allocations: 79.08 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.2828, allocations: 65.67 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2829, allocations: 330 kB / 1.072 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.2833, allocations: 209.2 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.2837, allocations: 311 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.2843, allocations: 411 kB / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2843, allocations: 0 / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001078/0.2854, allocations: 0.6679 MB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2854, allocations: 12.14 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2855, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2855, allocations: 4 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.2859, allocations: 119.8 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.2859, allocations: 15.86 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.2862, allocations: 47.67 kB / 1.074 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.2862, allocations: 24 kB / 1.074 GB, free: 5.293 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.0002775/0.2865, allocations: 269.6 kB / 1.074 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.2866, allocations: 75.06 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.2867, allocations: 73.88 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2868, allocations: 7.938 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2868, allocations: 4 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2868, allocations: 0 / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.2872, allocations: 465.2 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2872, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.2873, allocations: 16 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2873, allocations: 4 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.2873, allocations: 11.98 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.2873, allocations: 15.88 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2873, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.288, allocations: 392.5 kB / 1.075 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2881, allocations: 168.1 kB / 1.075 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.2882, allocations: 12 kB / 1.075 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2884, allocations: 23.91 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.2884, allocations: 23.92 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.2885, allocations: 15.98 kB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006998/0.2892, allocations: 0.6044 MB / 1.076 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2892, allocations: 0 / 1.076 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004122/0.2896, allocations: 116 kB / 1.076 GB, free: 2.922 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.001833/0.2914, allocations: 1.312 MB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.2922, allocations: 410.8 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2922, allocations: 0 / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.2924, allocations: 104.4 kB / 1.078 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.2934, allocations: 201.2 kB / 1.078 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.3012, allocations: 6.089 MB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3016, allocations: 0.9288 MB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002697/0.3019, allocations: 112.9 kB / 1.085 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.3022, allocations: 235.3 kB / 1.085 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3022, allocations: 0 / 1.085 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3925/0.6947, allocations: 12.59 MB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.6949, allocations: 285.7 kB / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.566, allocations: 4 kB / 1.097 GB, free: 12.76 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)