Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008298/0.008298, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001867/0.001867, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.914/1.914, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.781/2.781, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 140.4 MB / 1.088 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.003529/1.042, allocations: 2.478 MB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002563/1.045, allocations: 1.575 MB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/1.045, allocations: 9.094 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/1.046, allocations: 319.1 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007057/1.047, allocations: 341.6 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/1.048, allocations: 440 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008634/1.048, allocations: 0.7113 MB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/1.049, allocations: 81.28 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/1.049, allocations: 318.9 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/1.05, allocations: 317.4 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/1.05, allocations: 30.38 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/1.05, allocations: 86.91 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/1.05, allocations: 197.4 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/1.05, allocations: 269.1 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/1.051, allocations: 0.7435 MB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.051, allocations: 0 / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/1.051, allocations: 0.8438 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.701e-05/1.051, allocations: 0 / 1.095 GB, free: 0.7773 MB / 0.8575 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.001627/1.053, allocations: 1.002 MB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.053, allocations: 13.69 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.658e-05/1.053, allocations: 45.66 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/1.053, allocations: 74.28 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/1.055, allocations: 0.6277 MB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/1.055, allocations: 14.72 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/1.055, allocations: 10.45 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/1.055, allocations: 207.3 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.055, allocations: 4.828 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/1.055, allocations: 2.641 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.055, allocations: 3.656 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/1.055, allocations: 96.94 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/1.057, allocations: 1.056 MB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/1.058, allocations: 280.4 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/1.058, allocations: 101.7 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/1.058, allocations: 5.547 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/1.059, allocations: 225.3 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/1.059, allocations: 0 / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.00111/1.06, allocations: 423.3 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/1.06, allocations: 166.8 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.062, allocations: 1.038 MB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/1.062, allocations: 34.33 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/1.062, allocations: 287.2 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/1.062, allocations: 80.75 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/1.062, allocations: 140.2 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.062, allocations: 330.7 kB / 1.101 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/1.063, allocations: 210.1 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/1.063, allocations: 301.3 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/1.064, allocations: 421.7 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.064, allocations: 1 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001267/1.066, allocations: 0.6726 MB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.066, allocations: 6.469 kB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.066, allocations: 2.719 kB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.066, allocations: 4 kB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/1.066, allocations: 124.8 kB / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.066, allocations: 9.469 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/1.066, allocations: 38.45 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/1.066, allocations: 25.8 kB / 1.103 GB, free: 11.96 MB / 0.8731 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.0004123/1.067, allocations: 277.7 kB / 1.103 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.067, allocations: 74.25 kB / 1.103 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/1.067, allocations: 76.62 kB / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.067, allocations: 7.719 kB / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.067, allocations: 10.19 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.067, allocations: 3 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/1.068, allocations: 451.8 kB / 1.104 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.068, allocations: 2.094 kB / 1.104 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/1.068, allocations: 26.11 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.068, allocations: 3.188 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/1.068, allocations: 6.328 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.068, allocations: 7.484 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.068, allocations: 1.344 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008298/1.069, allocations: 394.8 kB / 1.104 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/1.069, allocations: 159.7 kB / 1.104 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/1.069, allocations: 14.7 kB / 1.104 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/1.07, allocations: 21.48 kB / 1.104 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/1.07, allocations: 21.17 kB / 1.104 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/1.07, allocations: 16.44 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00087/1.071, allocations: 0.5994 MB / 1.105 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004729/1.071, allocations: 113 kB / 1.105 GB, free: 10.78 MB / 0.8731 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.002167/1.073, allocations: 1.324 MB / 1.106 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008508/1.074, allocations: 401.6 kB / 1.107 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.074, allocations: 0 / 1.107 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/1.074, allocations: 110.9 kB / 1.107 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.075, allocations: 213 kB / 1.107 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009287/1.085, allocations: 5.775 MB / 1.113 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/1.085, allocations: 0.9229 MB / 1.114 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004126/1.086, allocations: 110.2 kB / 1.114 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/1.086, allocations: 236 kB / 1.114 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of SimCode: time 7.51e-07/1.086, allocations: 0 / 1.114 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7479/1.834, allocations: 13.53 MB / 1.127 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/21.22, allocations: 8.188 kB / 1.127 GB, free: 4.551 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)