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.258/2.258, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001204/0.001204, allocations: 184.8 kB / 498.1 MB, free: 5.723 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.47/1.47, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009106/0.0009107, allocations: 102.7 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 10.97 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.4943, allocations: 149.7 MB / 1.369 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4946, allocations: 75.89 kB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1311/0.6258, allocations: 46.18 MB / 1.414 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6259, allocations: 0 / 1.414 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.6259, allocations: 12 kB / 1.414 GB, free: 13.93 MB / 0.9167 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.001284/0.6272, allocations: 0.7217 MB / 1.415 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6273, allocations: 8.031 kB / 1.415 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.6273, allocations: 54.48 kB / 1.415 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.6275, allocations: 55.39 kB / 1.415 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.6284, allocations: 0.5289 MB / 1.416 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.6285, allocations: 20.23 kB / 1.416 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/0.6286, allocations: 40 kB / 1.416 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.629, allocations: 308.4 kB / 1.416 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.629, allocations: 0 / 1.416 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.6291, allocations: 8 kB / 1.416 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6291, allocations: 4 kB / 1.416 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.6294, allocations: 223.8 kB / 1.416 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.6314, allocations: 1.195 MB / 1.417 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.632, allocations: 464 kB / 1.418 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.632, allocations: 7.938 kB / 1.418 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.6325, allocations: 341.5 kB / 1.418 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.6325, allocations: 0 / 1.418 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.0009958/0.6335, allocations: 0.6374 MB / 1.419 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.6336, allocations: 114.7 kB / 1.419 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.6342, allocations: 0.5478 MB / 1.419 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.6343, allocations: 45.7 kB / 1.419 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.6345, allocations: 223.3 kB / 1.42 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.6346, allocations: 47.5 kB / 1.42 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.6346, allocations: 4 kB / 1.42 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.6348, allocations: 358.8 kB / 1.42 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.635, allocations: 131.8 kB / 1.42 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.6359, allocations: 0.7127 MB / 1.421 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.6361, allocations: 181 kB / 1.421 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6361, allocations: 0 / 1.421 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006008/0.6367, allocations: 428.6 kB / 1.421 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6367, allocations: 8 kB / 1.421 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6368, allocations: 4 kB / 1.421 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6368, allocations: 4 kB / 1.421 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6369, allocations: 35.86 kB / 1.422 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.637, allocations: 4 kB / 1.422 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6381, allocations: 104.4 kB / 1.422 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.6381, allocations: 19.98 kB / 1.422 GB, free: 5.934 MB / 0.9167 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 () * Number of clocked 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.0003224/0.6384, allocations: 266.3 kB / 1.422 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.6385, allocations: 44.19 kB / 1.422 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.6386, allocations: 51.36 kB / 1.422 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6386, allocations: 4 kB / 1.422 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.6386, allocations: 4 kB / 1.422 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.6386, allocations: 7.984 kB / 1.422 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.6391, allocations: 405.3 kB / 1.422 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6391, allocations: 3.953 kB / 1.422 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.6391, allocations: 11.94 kB / 1.422 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6391, allocations: 3.938 kB / 1.422 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.6391, allocations: 19.92 kB / 1.422 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6391, allocations: 0 / 1.422 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6392, allocations: 0 / 1.422 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.6399, allocations: 0.5507 MB / 1.423 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.64, allocations: 136.6 kB / 1.423 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.6401, allocations: 8 kB / 1.423 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.6402, allocations: 11.98 kB / 1.423 GB, free: 4.312 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.6403, allocations: 35.95 kB / 1.423 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.6404, allocations: 12 kB / 1.423 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004757/0.6409, allocations: 435 kB / 1.424 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6409, allocations: 0 / 1.424 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005095/0.6414, allocations: 115.9 kB / 1.424 GB, free: 3.727 MB / 0.9167 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 () * Number of clocked 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.001264/0.6427, allocations: 1.279 MB / 1.425 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005511/0.6432, allocations: 352.4 kB / 1.425 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6432, allocations: 0 / 1.425 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.6435, allocations: 187.9 kB / 1.425 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6437, allocations: 34.66 kB / 1.425 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4832/1.127, allocations: 3.426 MB / 1.429 GB, free: 197.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.127, allocations: 0.8455 MB / 1.43 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005488/1.128, allocations: 99.67 kB / 1.43 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.128, allocations: 126.3 kB / 1.43 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/1.128, allocations: 1.625 kB / 1.43 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/1.157, allocations: 11.26 MB / 1.441 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/1.157, allocations: 217 kB / 1.441 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.242, allocations: 1.031 kB / 1.441 GB, free: 196.4 MB / 0.9167 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