Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009725, allocations: 176.8 kB / 487.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.733/1.733, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 107.8 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.423e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.337, allocations: 148.9 MB / 1.352 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.338, allocations: 68.97 kB / 1.352 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1179/1.456, allocations: 46.01 MB / 1.397 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.304e-06/1.456, allocations: 0 / 1.397 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.695e-05/1.456, allocations: 15.66 kB / 1.397 GB, free: 23.82 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00153/1.457, allocations: 0.6246 MB / 1.397 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.457, allocations: 8.219 kB / 1.397 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/1.458, allocations: 54.25 kB / 1.397 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.459, allocations: 0.5361 MB / 1.398 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.459, allocations: 3.969 kB / 1.398 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/1.459, allocations: 30.72 kB / 1.398 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003296/1.459, allocations: 217.5 kB / 1.398 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/1.46, allocations: 296.2 kB / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.46, allocations: 0 / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/1.46, allocations: 0 / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.46, allocations: 3.844 kB / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/1.462, allocations: 1.129 MB / 1.399 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/1.462, allocations: 455.6 kB / 1.4 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/1.462, allocations: 180.9 kB / 1.4 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/1.462, allocations: 7.797 kB / 1.4 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/1.463, allocations: 330.1 kB / 1.4 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 2.255e-06/1.463, allocations: 0 / 1.4 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0008497/1.464, allocations: 486.9 kB / 1.401 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.464, allocations: 122.2 kB / 1.401 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/1.464, allocations: 0.5184 MB / 1.401 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/1.465, allocations: 37.12 kB / 1.401 GB, free: 21.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.465, allocations: 212.8 kB / 1.402 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/1.465, allocations: 53.06 kB / 1.402 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/1.465, allocations: 0 / 1.402 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.465, allocations: 361.5 kB / 1.402 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/1.465, allocations: 127.6 kB / 1.402 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/1.466, allocations: 0.6853 MB / 1.403 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/1.466, allocations: 208.2 kB / 1.403 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.466, allocations: 3.844 kB / 1.403 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008134/1.467, allocations: 430.6 kB / 1.403 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.467, allocations: 3.844 kB / 1.403 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.467, allocations: 3.844 kB / 1.403 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.467, allocations: 7.844 kB / 1.403 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/1.467, allocations: 38.3 kB / 1.403 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.467, allocations: 3.844 kB / 1.403 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.468, allocations: 82.84 kB / 1.404 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/1.468, allocations: 18.77 kB / 1.404 GB, free: 20.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/1.469, allocations: 156.4 kB / 1.404 GB, free: 19.94 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005891/1.469, allocations: 479 kB / 1.404 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/1.469, allocations: 46.64 kB / 1.404 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/1.469, allocations: 47.91 kB / 1.404 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.469, allocations: 4.219 kB / 1.404 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.469, allocations: 0 / 1.404 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.469, allocations: 3.844 kB / 1.404 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/1.47, allocations: 372.4 kB / 1.405 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.47, allocations: 3.938 kB / 1.405 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/1.47, allocations: 11.78 kB / 1.405 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.47, allocations: 3.953 kB / 1.405 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.47, allocations: 10.95 kB / 1.405 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/1.47, allocations: 3.844 kB / 1.405 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.47, allocations: 0 / 1.405 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/1.471, allocations: 0.538 MB / 1.405 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/1.471, allocations: 134.9 kB / 1.405 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/1.471, allocations: 3.875 kB / 1.405 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/1.471, allocations: 15.33 kB / 1.405 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/1.471, allocations: 34.86 kB / 1.405 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.471, allocations: 14.53 kB / 1.405 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004269/1.471, allocations: 413.2 kB / 1.406 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.2e-07/1.471, allocations: 0 / 1.406 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005325/1.472, allocations: 104.3 kB / 1.406 GB, free: 19.04 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/1.473, allocations: 1.26 MB / 1.407 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004462/1.474, allocations: 331.2 kB / 1.407 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.474, allocations: 0 / 1.407 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/1.474, allocations: 181.4 kB / 1.408 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/1.474, allocations: 36.97 kB / 1.408 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.475, allocations: 0.7667 MB / 1.408 GB, free: 17.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/1.476, allocations: 0.8396 MB / 1.409 GB, free: 17.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002812/1.476, allocations: 99.92 kB / 1.409 GB, free: 16.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.476, allocations: 128.2 kB / 1.409 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.476, allocations: 0 / 1.409 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/1.512, allocations: 10.26 MB / 1.419 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004381/1.513, allocations: 176.2 kB / 1.42 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/3.579, allocations: 2 kB / 1.42 GB, free: 6.961 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat