Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.286/2.286, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001541/0.00154, allocations: 183 kB / 0.4901 GB, free: 2.242 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.585/1.585, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0008935/0.0008935, allocations: 100.3 kB / 0.9396 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 11.36 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2436, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4373, allocations: 150.1 MB / 1.376 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4376, allocations: 71.95 kB / 1.376 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06337/0.501, allocations: 21.36 MB / 1.397 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.274e-06/0.501, allocations: 0 / 1.397 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.5011, allocations: 8 kB / 1.397 GB, free: 9.59 MB / 0.9011 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.0009622/0.502, allocations: 0.5452 MB / 1.397 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.435e-05/0.5021, allocations: 8.562 kB / 1.397 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.5022, allocations: 42.55 kB / 1.397 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.5023, allocations: 35.58 kB / 1.397 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.503, allocations: 379.3 kB / 1.398 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.503, allocations: 12 kB / 1.398 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.5031, allocations: 23.98 kB / 1.398 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.5035, allocations: 188 kB / 1.398 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5035, allocations: 3.938 kB / 1.398 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5035, allocations: 8 kB / 1.398 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.5035, allocations: 8 kB / 1.398 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.5037, allocations: 107.9 kB / 1.398 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.5042, allocations: 391 kB / 1.399 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.5047, allocations: 319.8 kB / 1.399 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.5047, allocations: 8.047 kB / 1.399 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.5051, allocations: 278.4 kB / 1.399 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.5051, allocations: 0 / 1.399 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0008791/0.506, allocations: 0.5049 MB / 1.4 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.5061, allocations: 110.8 kB / 1.4 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.5066, allocations: 359.7 kB / 1.4 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.5066, allocations: 33.7 kB / 1.4 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.5068, allocations: 165.6 kB / 1.4 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.5068, allocations: 39.45 kB / 1.4 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5069, allocations: 7.938 kB / 1.4 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.507, allocations: 350.8 kB / 1.401 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.5072, allocations: 87.88 kB / 1.401 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.5077, allocations: 479.2 kB / 1.401 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.5079, allocations: 132.1 kB / 1.401 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5079, allocations: 4 kB / 1.401 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004792/0.5084, allocations: 329.2 kB / 1.402 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5084, allocations: 9.094 kB / 1.402 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5084, allocations: 4 kB / 1.402 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5085, allocations: 4 kB / 1.402 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.5086, allocations: 31.92 kB / 1.402 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.5087, allocations: 11.94 kB / 1.402 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.5093, allocations: 52.22 kB / 1.402 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.5094, allocations: 16 kB / 1.402 GB, free: 4.164 MB / 0.9011 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.0002343/0.5096, allocations: 200 kB / 1.402 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.5097, allocations: 27.72 kB / 1.402 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.5097, allocations: 33.89 kB / 1.402 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5098, allocations: 4 kB / 1.402 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5098, allocations: 240 / 1.402 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5098, allocations: 7.984 kB / 1.402 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.5101, allocations: 297.3 kB / 1.402 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5101, allocations: 3.984 kB / 1.402 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.5101, allocations: 4 kB / 1.402 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5101, allocations: 0 / 1.402 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.5102, allocations: 8.109 kB / 1.402 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5102, allocations: 11.94 kB / 1.402 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5102, allocations: 0 / 1.402 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.5108, allocations: 466.6 kB / 1.403 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5109, allocations: 112.7 kB / 1.403 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.5109, allocations: 4 kB / 1.403 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.511, allocations: 4 kB / 1.403 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.5111, allocations: 23.92 kB / 1.403 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.5112, allocations: 12 kB / 1.403 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00031/0.5115, allocations: 298.9 kB / 1.403 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5115, allocations: 3.938 kB / 1.403 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00042/0.5119, allocations: 80 kB / 1.403 GB, free: 2.477 MB / 0.9011 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.001082/0.513, allocations: 1.166 MB / 1.404 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.5134, allocations: 256.6 kB / 1.405 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5134, allocations: 0.8125 kB / 1.405 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.5136, allocations: 147.8 kB / 1.405 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5139, allocations: 24.59 kB / 1.405 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5171/1.031, allocations: 3.206 MB / 1.408 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/1.031, allocations: 0.7738 MB / 1.409 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003551/1.032, allocations: 45.59 kB / 1.409 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.032, allocations: 82.28 kB / 1.409 GB, free: 171 MB / 0.9011 GB Notification: Performance of SimCode: time 1.213e-06/1.032, allocations: 0.6875 kB / 1.409 GB, free: 171 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/1.055, allocations: 7.15 MB / 1.416 GB, free: 170.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/1.056, allocations: 192.5 kB / 1.416 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.249, allocations: 1.719 kB / 1.416 GB, free: 170.5 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat