Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.0009521/0.000952, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.839/1.839, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0009288/0.0009292, allocations: 87.91 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.763e-05/5.791e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.393, allocations: 149.3 MB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.393, allocations: 72.14 kB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08445/1.478, allocations: 21.36 MB / 1.379 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.478, allocations: 0 / 1.379 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.65e-05/1.478, allocations: 3.906 kB / 1.379 GB, free: 32.48 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.000864/1.479, allocations: 0.4907 MB / 1.38 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.479, allocations: 11.62 kB / 1.38 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/1.479, allocations: 34.5 kB / 1.38 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/1.479, allocations: 31.03 kB / 1.38 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/1.48, allocations: 373.1 kB / 1.38 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/1.48, allocations: 14.53 kB / 1.38 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/1.48, allocations: 21.88 kB / 1.38 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/1.48, allocations: 190 kB / 1.38 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.48, allocations: 0 / 1.38 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/1.48, allocations: 3.875 kB / 1.38 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.481, allocations: 7.875 kB / 1.38 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/1.481, allocations: 111 kB / 1.38 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/1.481, allocations: 405 kB / 1.381 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/1.482, allocations: 312.1 kB / 1.381 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.482, allocations: 130 kB / 1.381 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/1.482, allocations: 4 kB / 1.381 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/1.483, allocations: 277.1 kB / 1.382 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/1.483, allocations: 4 kB / 1.382 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007029/1.483, allocations: 404.2 kB / 1.382 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.483, allocations: 114.4 kB / 1.382 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/1.484, allocations: 355.8 kB / 1.382 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/1.484, allocations: 41.2 kB / 1.382 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.484, allocations: 160.1 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/1.484, allocations: 36.58 kB / 1.383 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/1.484, allocations: 2.812 kB / 1.383 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.484, allocations: 352.2 kB / 1.383 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.484, allocations: 92.77 kB / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/1.485, allocations: 470.1 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/1.485, allocations: 140 kB / 1.384 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.485, allocations: 0 / 1.384 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004901/1.485, allocations: 332.6 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.485, allocations: 7.688 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.485, allocations: 3.812 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.485, allocations: 3.844 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.486, allocations: 34.7 kB / 1.384 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.486, allocations: 7.891 kB / 1.384 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/1.486, allocations: 46.2 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/1.487, allocations: 22.55 kB / 1.384 GB, free: 29.53 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.0001437/1.487, allocations: 144.1 kB / 1.384 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/1.487, allocations: 23.31 kB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/1.487, allocations: 37.73 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.487, allocations: 0 / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.487, allocations: 3.938 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.487, allocations: 7.828 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/1.487, allocations: 298.1 kB / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.487, allocations: 0 / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/1.487, allocations: 3.812 kB / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.487, allocations: 3.812 kB / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/1.487, allocations: 11.11 kB / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.487, allocations: 0 / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.487, allocations: 0 / 1.385 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/1.488, allocations: 464.5 kB / 1.385 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/1.488, allocations: 119.5 kB / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/1.488, allocations: 0 / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/1.488, allocations: 7.219 kB / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/1.488, allocations: 19.56 kB / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/1.488, allocations: 15.55 kB / 1.385 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002941/1.488, allocations: 288.1 kB / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.488, allocations: 0 / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004682/1.489, allocations: 84.77 kB / 1.386 GB, free: 28.69 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.0009559/1.49, allocations: 1.173 MB / 1.387 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003717/1.49, allocations: 250.1 kB / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.49, allocations: 0 / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/1.49, allocations: 151.1 kB / 1.387 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/1.491, allocations: 24.84 kB / 1.387 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008552/1.491, allocations: 0.533 MB / 1.388 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.492, allocations: 0.7761 MB / 1.388 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001399/1.492, allocations: 44.73 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.492, allocations: 87.8 kB / 1.388 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.492, allocations: 0 / 1.388 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/1.518, allocations: 7.218 MB / 1.396 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/1.519, allocations: 162.9 kB / 1.396 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/3.632, allocations: 4 kB / 1.396 GB, free: 23.15 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat