Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001373/0.001373, allocations: 176.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.3 MB / 0.7915 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001105, allocations: 95.91 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.355e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.213, allocations: 150.4 MB / 1.366 GB, free: 3.621 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.213, allocations: 71.64 kB / 1.366 GB, free: 3.582 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1311/1.344, allocations: 46.24 MB / 1.411 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.567e-06/1.344, allocations: 0 / 1.411 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.023e-05/1.344, allocations: 11.94 kB / 1.411 GB, free: 12.6 MB / 0.8698 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.0009886/1.345, allocations: 0.6307 MB / 1.412 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.345, allocations: 8.031 kB / 1.412 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/1.345, allocations: 48.48 kB / 1.412 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/1.345, allocations: 55.39 kB / 1.412 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/1.346, allocations: 0.5236 MB / 1.412 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/1.346, allocations: 26.97 kB / 1.412 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/1.346, allocations: 35.38 kB / 1.412 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/1.347, allocations: 301.6 kB / 1.413 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.347, allocations: 4 kB / 1.413 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/1.347, allocations: 11.61 kB / 1.413 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.347, allocations: 4 kB / 1.413 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/1.347, allocations: 219.9 kB / 1.413 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/1.349, allocations: 1.19 MB / 1.414 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/1.35, allocations: 467.8 kB / 1.414 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/1.35, allocations: 186.7 kB / 1.415 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/1.35, allocations: 0 / 1.415 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/1.351, allocations: 340.5 kB / 1.415 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/1.351, allocations: 0 / 1.415 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24): time 0.0009231/1.352, allocations: 0.49 MB / 1.415 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.352, allocations: 114.2 kB / 1.415 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/1.353, allocations: 0.5418 MB / 1.416 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.783e-05/1.353, allocations: 44.7 kB / 1.416 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/1.353, allocations: 218.5 kB / 1.416 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/1.353, allocations: 57.47 kB / 1.416 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/1.353, allocations: 7.625 kB / 1.416 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.353, allocations: 360.2 kB / 1.417 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/1.353, allocations: 129.8 kB / 1.417 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009373/1.354, allocations: 0.7101 MB / 1.418 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/1.355, allocations: 185.8 kB / 1.418 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.355, allocations: 0 / 1.418 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006394/1.355, allocations: 420.4 kB / 1.418 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.355, allocations: 9.406 kB / 1.418 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.355, allocations: 4 kB / 1.418 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.355, allocations: 4 kB / 1.418 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/1.355, allocations: 39.17 kB / 1.418 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.356, allocations: 11.98 kB / 1.418 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.357, allocations: 98.78 kB / 1.418 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/1.357, allocations: 14.81 kB / 1.418 GB, free: 6.031 MB / 0.8698 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.0001743/1.357, allocations: 160 kB / 1.418 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/1.357, allocations: 43.72 kB / 1.418 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.448e-05/1.357, allocations: 45.56 kB / 1.418 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.357, allocations: 7.938 kB / 1.419 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/1.357, allocations: 3.984 kB / 1.419 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.357, allocations: 4 kB / 1.419 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/1.357, allocations: 417.2 kB / 1.419 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.357, allocations: 0 / 1.419 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/1.357, allocations: 4 kB / 1.419 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.357, allocations: 0 / 1.419 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/1.357, allocations: 15.98 kB / 1.419 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.357, allocations: 4 kB / 1.419 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.358, allocations: 0 / 1.419 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/1.358, allocations: 0.5428 MB / 1.419 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/1.358, allocations: 148.4 kB / 1.42 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/1.359, allocations: 8 kB / 1.42 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.359, allocations: 15.98 kB / 1.42 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/1.359, allocations: 31.95 kB / 1.42 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/1.359, allocations: 16 kB / 1.42 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005305/1.359, allocations: 429.1 kB / 1.42 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/1.359, allocations: 0 / 1.42 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004839/1.36, allocations: 111.9 kB / 1.42 GB, free: 3.977 MB / 0.8698 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.001143/1.361, allocations: 1.264 MB / 1.421 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005331/1.362, allocations: 352.6 kB / 1.422 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.362, allocations: 0 / 1.422 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/1.362, allocations: 187.8 kB / 1.422 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/1.362, allocations: 34.59 kB / 1.422 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/1.363, allocations: 0.7898 MB / 1.423 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/1.364, allocations: 0.8569 MB / 1.424 GB, free: 408 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002502/1.364, allocations: 95.05 kB / 1.424 GB, free: 316 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/1.364, allocations: 135.4 kB / 1.424 GB, free: 184 kB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/1.364, allocations: 0 / 1.424 GB, free: 184 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.391, allocations: 11.34 MB / 1.435 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.391, allocations: 191.3 kB / 1.435 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.561, allocations: 1.547 kB / 1.435 GB, free: 4.941 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat