Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.1-maint.9.1.x/package.mo", uses=false) 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) 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.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.001189/0.001189, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001408/0.001408, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003524, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7476/0.748, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0007557/0.7488, allocations: 401.2 kB / 0.954 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.7502, allocations: 1.29 MB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.7502, allocations: 1.125 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.7507, allocations: 186.2 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.7508, allocations: 105.9 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.7513, allocations: 202.6 kB / 0.9557 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.7517, allocations: 296.6 kB / 0.956 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.7517, allocations: 7.562 kB / 0.956 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.7519, allocations: 193.5 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.7522, allocations: 183.5 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.7523, allocations: 11.03 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.7524, allocations: 63.55 kB / 0.9565 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.7528, allocations: 239.9 kB / 0.9567 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.7529, allocations: 62.52 kB / 0.9567 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.7531, allocations: 354.5 kB / 0.9571 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.7532, allocations: 4 kB / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7532, allocations: 0 / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.7532, allocations: 0 / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006818/0.7539, allocations: 0.5204 MB / 0.9576 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7539, allocations: 10.16 kB / 0.9576 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.754, allocations: 35.73 kB / 0.9576 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.7541, allocations: 32.56 kB / 0.9577 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.7546, allocations: 371.8 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.7546, allocations: 16.94 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.7547, allocations: 19.91 kB / 0.9581 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.7549, allocations: 184.2 kB / 0.9582 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.755, allocations: 7.922 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.755, allocations: 1.312 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.755, allocations: 5.453 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.7551, allocations: 109.7 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.7555, allocations: 390.3 kB / 0.9587 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.7558, allocations: 316.8 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.7559, allocations: 5.375 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.7562, allocations: 272.2 kB / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.7562, allocations: 4 kB / 0.9593 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0007639/0.757, allocations: 0.498 MB / 0.9598 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.7571, allocations: 116.6 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.7574, allocations: 395.7 kB / 0.9603 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.7575, allocations: 37.55 kB / 0.9603 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7576, allocations: 154.6 kB / 0.9605 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.7577, allocations: 47.06 kB / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.7577, allocations: 5.031 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.7577, allocations: 345.4 kB / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.7579, allocations: 89.28 kB / 0.9609 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.7583, allocations: 459.5 kB / 0.9614 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.7585, allocations: 129.8 kB / 0.9615 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7585, allocations: 1.188 kB / 0.9615 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004436/0.7589, allocations: 328.1 kB / 0.9618 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.759, allocations: 6.531 kB / 0.9618 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.759, allocations: 3.031 kB / 0.9618 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.759, allocations: 10.09 kB / 0.9618 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.7592, allocations: 32.36 kB / 0.9618 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.7592, allocations: 16.77 kB / 0.9619 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.7599, allocations: 80.72 kB / 0.9619 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.7599, allocations: 10.16 kB / 0.9619 GB, free: 2.102 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002092/0.7601, allocations: 195.5 kB / 0.9621 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.7602, allocations: 29.25 kB / 0.9622 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.7603, allocations: 32.61 kB / 0.9622 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.7603, allocations: 3 kB / 0.9622 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7603, allocations: 0.9688 kB / 0.9622 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.7603, allocations: 5.016 kB / 0.9622 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.7605, allocations: 285.6 kB / 0.9625 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7605, allocations: 0 / 0.9625 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.7605, allocations: 2.406 kB / 0.9625 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7606, allocations: 3.156 kB / 0.9625 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.7606, allocations: 11.83 kB / 0.9625 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7606, allocations: 0 / 0.9625 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7606, allocations: 7.438 kB / 0.9625 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.7611, allocations: 453.2 kB / 0.9629 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.7612, allocations: 119.8 kB / 0.963 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.7613, allocations: 6.859 kB / 0.963 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.7614, allocations: 5.141 kB / 0.9631 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.7614, allocations: 15.98 kB / 0.9631 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.7615, allocations: 22.02 kB / 0.9631 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002752/0.7617, allocations: 286.4 kB / 0.9634 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7617, allocations: 0 / 0.9634 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004033/0.7621, allocations: 79.55 kB / 0.9634 GB, free: 1.047 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008262/0.763, allocations: 1.169 MB / 0.9646 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.7634, allocations: 251.5 kB / 0.9648 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7634, allocations: 1.031 kB / 0.9648 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.7637, allocations: 147.1 kB / 0.965 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.7639, allocations: 30.61 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.7661, allocations: 3.202 MB / 0.9681 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.7665, allocations: 0.7684 MB / 0.9689 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.7667, allocations: 56.3 kB / 0.9689 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.7668, allocations: 83.75 kB / 0.969 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7669, allocations: 0 / 0.969 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.7916, allocations: 7.178 MB / 0.976 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.7919, allocations: 217 kB / 0.9762 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.659, allocations: 3.938 kB / 0.9762 GB, free: 8.484 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat