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.404/2.404, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.00115/0.00115, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.645/1.645, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009098/0.0009097, allocations: 94.89 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.789e-05, allocations: 7.125 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 142.3 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.313, allocations: 149.6 MB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.314, allocations: 78.58 kB / 1.359 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1153/1.429, allocations: 46.23 MB / 1.404 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.429, allocations: 0 / 1.404 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.847e-05/1.429, allocations: 11.94 kB / 1.404 GB, free: 22.13 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.0007955/1.43, allocations: 0.6252 MB / 1.404 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.43, allocations: 8.031 kB / 1.404 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/1.43, allocations: 45.61 kB / 1.405 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.43, allocations: 59.44 kB / 1.405 GB, free: 21.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/1.431, allocations: 0.5297 MB / 1.405 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.431, allocations: 27.36 kB / 1.405 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/1.431, allocations: 35.5 kB / 1.405 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/1.431, allocations: 301 kB / 1.405 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.431, allocations: 3.938 kB / 1.405 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/1.431, allocations: 7.312 kB / 1.405 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.431, allocations: 8 kB / 1.405 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/1.432, allocations: 217.4 kB / 1.406 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/1.433, allocations: 1.182 MB / 1.407 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/1.434, allocations: 464.3 kB / 1.407 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.434, allocations: 185 kB / 1.407 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/1.434, allocations: 8 kB / 1.407 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/1.434, allocations: 339.6 kB / 1.408 GB, free: 18.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/1.434, allocations: 7.938 kB / 1.408 GB, free: 18.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0006582/1.435, allocations: 495.4 kB / 1.408 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.435, allocations: 118.7 kB / 1.408 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/1.436, allocations: 0.5398 MB / 1.409 GB, free: 17.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/1.436, allocations: 43.7 kB / 1.409 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.436, allocations: 212.1 kB / 1.409 GB, free: 17.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/1.436, allocations: 57.67 kB / 1.409 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/1.436, allocations: 3.438 kB / 1.409 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.436, allocations: 366.8 kB / 1.41 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.436, allocations: 123 kB / 1.41 GB, free: 17.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/1.437, allocations: 0.7153 MB / 1.41 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/1.437, allocations: 182.7 kB / 1.411 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.437, allocations: 7.953 kB / 1.411 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004992/1.437, allocations: 415 kB / 1.411 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.437, allocations: 12.06 kB / 1.411 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.437, allocations: 0 / 1.411 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.437, allocations: 8 kB / 1.411 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.438, allocations: 43.53 kB / 1.411 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.438, allocations: 4 kB / 1.411 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.439, allocations: 90.88 kB / 1.411 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/1.439, allocations: 19.44 kB / 1.411 GB, free: 15.61 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.000174/1.439, allocations: 165 kB / 1.411 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/1.439, allocations: 39.48 kB / 1.411 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.316e-05/1.439, allocations: 57.98 kB / 1.411 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.439, allocations: 4 kB / 1.411 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.439, allocations: 0 / 1.411 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.439, allocations: 7.922 kB / 1.411 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/1.439, allocations: 411.2 kB / 1.412 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.439, allocations: 0 / 1.412 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/1.44, allocations: 12.12 kB / 1.412 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.44, allocations: 0 / 1.412 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/1.44, allocations: 11.44 kB / 1.412 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.44, allocations: 4 kB / 1.412 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.44, allocations: 0 / 1.412 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/1.44, allocations: 0.5436 MB / 1.412 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.44, allocations: 139 kB / 1.412 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/1.44, allocations: 3.062 kB / 1.412 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.441, allocations: 23.16 kB / 1.412 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/1.441, allocations: 30.16 kB / 1.412 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/1.441, allocations: 23.11 kB / 1.413 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004966/1.441, allocations: 428.8 kB / 1.413 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.441, allocations: 0 / 1.413 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006008/1.442, allocations: 111 kB / 1.413 GB, free: 13.86 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.001082/1.443, allocations: 1.27 MB / 1.414 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000552/1.444, allocations: 352.6 kB / 1.415 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.444, allocations: 0 / 1.415 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/1.444, allocations: 189.5 kB / 1.415 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.444, allocations: 43.09 kB / 1.415 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.445, allocations: 0.7848 MB / 1.416 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/1.446, allocations: 0.8467 MB / 1.416 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002758/1.446, allocations: 94.92 kB / 1.417 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.446, allocations: 129.2 kB / 1.417 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.446, allocations: 4.312 kB / 1.417 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/1.473, allocations: 11.35 MB / 1.428 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/1.473, allocations: 184.8 kB / 1.428 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.623, allocations: 0 / 1.428 GB, free: 15.29 MB / 0.8542 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