Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",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.39/2.39, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001374/0.001373, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.627/1.627, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009997/0.0009998, allocations: 99.86 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.252e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3095, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.351, allocations: 148.9 MB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.351, allocations: 75.09 kB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1631/1.514, allocations: 46.01 MB / 1.397 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.492e-06/1.514, allocations: 3.938 kB / 1.397 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.206e-05/1.514, allocations: 15.5 kB / 1.397 GB, free: 23.93 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.001641/1.516, allocations: 0.6213 MB / 1.397 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.516, allocations: 11.59 kB / 1.397 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/1.517, allocations: 57.52 kB / 1.397 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/1.518, allocations: 0.5322 MB / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/1.518, allocations: 3.844 kB / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/1.518, allocations: 31.05 kB / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004638/1.519, allocations: 210.9 kB / 1.398 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/1.519, allocations: 305.8 kB / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.519, allocations: 0 / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/1.519, allocations: 0 / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.519, allocations: 3.719 kB / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/1.522, allocations: 1.132 MB / 1.399 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/1.523, allocations: 452.4 kB / 1.4 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/1.523, allocations: 180.9 kB / 1.4 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/1.523, allocations: 7.797 kB / 1.4 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/1.524, allocations: 329.9 kB / 1.4 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 2.584e-06/1.524, allocations: 3.844 kB / 1.4 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.001214/1.525, allocations: 483.8 kB / 1.401 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.525, allocations: 121.9 kB / 1.401 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/1.526, allocations: 0.5222 MB / 1.401 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/1.526, allocations: 32.86 kB / 1.401 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/1.526, allocations: 213.6 kB / 1.402 GB, free: 21.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/1.526, allocations: 52.95 kB / 1.402 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.526, allocations: 0 / 1.402 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.527, allocations: 362.6 kB / 1.402 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/1.527, allocations: 119.7 kB / 1.402 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/1.528, allocations: 0.6936 MB / 1.403 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/1.529, allocations: 210.1 kB / 1.403 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.529, allocations: 4.125 kB / 1.403 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001242/1.53, allocations: 423.6 kB / 1.403 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.53, allocations: 11.62 kB / 1.403 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.53, allocations: 3.875 kB / 1.403 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.53, allocations: 3.969 kB / 1.403 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/1.53, allocations: 42.31 kB / 1.403 GB, free: 20.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.53, allocations: 3.875 kB / 1.403 GB, free: 20.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.532, allocations: 82.44 kB / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/1.532, allocations: 18.72 kB / 1.404 GB, free: 20.18 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.0002684/1.532, allocations: 153 kB / 1.404 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009147/1.533, allocations: 485.5 kB / 1.404 GB, free: 19.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/1.533, allocations: 38.84 kB / 1.404 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/1.533, allocations: 49.89 kB / 1.404 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/1.534, allocations: 3.875 kB / 1.404 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.534, allocations: 0 / 1.404 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.534, allocations: 3.844 kB / 1.404 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/1.534, allocations: 365.9 kB / 1.405 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.534, allocations: 4 kB / 1.405 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/1.534, allocations: 11.83 kB / 1.405 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.534, allocations: 3.953 kB / 1.405 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/1.534, allocations: 3.938 kB / 1.405 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.534, allocations: 3.844 kB / 1.405 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.534, allocations: 0 / 1.405 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/1.535, allocations: 0.5412 MB / 1.405 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.535, allocations: 131.5 kB / 1.405 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/1.535, allocations: 7.859 kB / 1.405 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/1.536, allocations: 11.8 kB / 1.405 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.536, allocations: 38.38 kB / 1.405 GB, free: 19.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/1.536, allocations: 19.27 kB / 1.405 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006549/1.536, allocations: 411.8 kB / 1.406 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/1.536, allocations: 3.938 kB / 1.406 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009113/1.537, allocations: 110.5 kB / 1.406 GB, free: 19.15 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.001478/1.539, allocations: 1.256 MB / 1.407 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000759/1.54, allocations: 324.4 kB / 1.407 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.54, allocations: 0 / 1.407 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/1.54, allocations: 188.7 kB / 1.408 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/1.54, allocations: 34.91 kB / 1.408 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.542, allocations: 0.7607 MB / 1.408 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/1.543, allocations: 0.8406 MB / 1.409 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000474/1.543, allocations: 101.4 kB / 1.409 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/1.544, allocations: 127.1 kB / 1.409 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.544, allocations: 4 kB / 1.409 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/1.586, allocations: 10.25 MB / 1.419 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.587, allocations: 154.5 kB / 1.42 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.715, allocations: 0 / 1.42 GB, free: 6.941 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat