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.387/2.387, allocations: 390.5 MB / 398 MB, free: 10.9 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.001044/0.001044, allocations: 184.8 kB / 491.2 MB, free: 1.543 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.633/1.633, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.00113/0.00113, allocations: 99.7 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.32e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3171, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.226, allocations: 149.4 MB / 1.358 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/1.226, allocations: 70.14 kB / 1.358 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05681/1.283, allocations: 21.26 MB / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.283, allocations: 4 kB / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.272e-05/1.283, allocations: 3.844 kB / 1.379 GB, free: 31.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000787/1.284, allocations: 0.4888 MB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.284, allocations: 11.47 kB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/1.284, allocations: 31.12 kB / 1.38 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/1.284, allocations: 369.8 kB / 1.38 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.285, allocations: 3.875 kB / 1.38 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/1.285, allocations: 22.48 kB / 1.38 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001735/1.285, allocations: 101.7 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/1.285, allocations: 196.1 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.285, allocations: 0 / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.285, allocations: 3.938 kB / 1.38 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.285, allocations: 3.812 kB / 1.38 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/1.285, allocations: 354.8 kB / 1.381 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/1.286, allocations: 314.1 kB / 1.381 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/1.286, allocations: 121.4 kB / 1.381 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.286, allocations: 0 / 1.381 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/1.286, allocations: 282.9 kB / 1.381 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/1.286, allocations: 0 / 1.381 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0006405/1.287, allocations: 397.3 kB / 1.382 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.287, allocations: 118.5 kB / 1.382 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/1.287, allocations: 342 kB / 1.382 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/1.287, allocations: 33.52 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.288, allocations: 161.2 kB / 1.382 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/1.288, allocations: 36.88 kB / 1.382 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.288, allocations: 0 / 1.382 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.288, allocations: 352.2 kB / 1.383 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/1.288, allocations: 76.22 kB / 1.383 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.288, allocations: 470.2 kB / 1.383 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/1.289, allocations: 150 kB / 1.383 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.289, allocations: 7.812 kB / 1.383 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006088/1.289, allocations: 330.7 kB / 1.384 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.289, allocations: 7.688 kB / 1.384 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.289, allocations: 8.234 kB / 1.384 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.289, allocations: 7.969 kB / 1.384 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/1.289, allocations: 30.8 kB / 1.384 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.289, allocations: 3.812 kB / 1.384 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/1.29, allocations: 43 kB / 1.384 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.29, allocations: 15 kB / 1.384 GB, free: 28.32 MB / 0.8386 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 () * 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.0001328/1.29, allocations: 138.1 kB / 1.384 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000452/1.291, allocations: 392.1 kB / 1.384 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/1.291, allocations: 30.69 kB / 1.384 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/1.291, allocations: 31.73 kB / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.291, allocations: 3.688 kB / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.291, allocations: 0 / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.291, allocations: 3.984 kB / 1.384 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/1.291, allocations: 263.3 kB / 1.385 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.291, allocations: 4 kB / 1.385 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/1.291, allocations: 7.891 kB / 1.385 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.291, allocations: 0 / 1.385 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.291, allocations: 7.281 kB / 1.385 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.291, allocations: 3.875 kB / 1.385 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.291, allocations: 0 / 1.385 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/1.292, allocations: 465.2 kB / 1.385 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/1.292, allocations: 112.2 kB / 1.385 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/1.292, allocations: 3.844 kB / 1.385 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/1.292, allocations: 3.984 kB / 1.385 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/1.292, allocations: 22.41 kB / 1.385 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.292, allocations: 15.27 kB / 1.385 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002529/1.292, allocations: 278 kB / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.292, allocations: 0 / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004481/1.293, allocations: 81.36 kB / 1.386 GB, free: 27.4 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: 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 () * 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.0009331/1.294, allocations: 1.153 MB / 1.387 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003564/1.294, allocations: 242.7 kB / 1.387 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/1.294, allocations: 3.938 kB / 1.387 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/1.294, allocations: 140.6 kB / 1.387 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/1.294, allocations: 19.47 kB / 1.387 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/1.295, allocations: 0.5153 MB / 1.388 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.296, allocations: 0.7707 MB / 1.388 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000174/1.296, allocations: 52.88 kB / 1.388 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.296, allocations: 79.06 kB / 1.389 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.296, allocations: 3.938 kB / 1.389 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.322, allocations: 6.516 MB / 1.395 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.323, allocations: 158.3 kB / 1.395 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.33, allocations: 4 kB / 1.395 GB, free: 22.21 MB / 0.8386 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