Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.313/2.313, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001195/0.001195, allocations: 196.1 kB / 498.1 MB, free: 5.668 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.568/1.568, allocations: 223.1 MB / 0.7948 GB, free: 17.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.0008546/0.0008546, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003972, allocations: 13.16 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2857, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.4785, allocations: 153.2 MB / 1.373 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4787, allocations: 87.94 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06596/0.5447, allocations: 23.79 MB / 1.396 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5448, allocations: 0 / 1.396 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.076e-05/0.5448, allocations: 19.98 kB / 1.396 GB, free: 0.7617 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001885/0.5467, allocations: 0.9608 MB / 1.397 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5468, allocations: 12.03 kB / 1.397 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/0.5469, allocations: 50.48 kB / 1.397 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.5471, allocations: 79.02 kB / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.5486, allocations: 0.6943 MB / 1.398 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.5487, allocations: 19.97 kB / 1.398 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.5487, allocations: 16 kB / 1.398 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.5491, allocations: 193.8 kB / 1.398 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5491, allocations: 0 / 1.398 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.5492, allocations: 7.984 kB / 1.398 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.5492, allocations: 4 kB / 1.398 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.5495, allocations: 119.8 kB / 1.398 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.5511, allocations: 1.114 MB / 1.399 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.5517, allocations: 285.3 kB / 1.399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5517, allocations: 8 kB / 1.399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.5521, allocations: 233 kB / 1.4 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.345e-06/0.5521, allocations: 0 / 1.4 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.001016/0.5531, allocations: 445.5 kB / 1.4 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.5532, allocations: 158.2 kB / 1.4 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.5546, allocations: 0.9569 MB / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.5546, allocations: 37.7 kB / 1.401 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.5549, allocations: 292.8 kB / 1.401 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.5549, allocations: 71.14 kB / 1.401 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.555, allocations: 16 kB / 1.402 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5551, allocations: 330 kB / 1.402 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.5556, allocations: 261.2 kB / 1.402 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.5561, allocations: 343 kB / 1.402 GB, free: 9.758 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.5566, allocations: 279.7 kB / 1.403 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5566, allocations: 0 / 1.403 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001389/0.558, allocations: 0.7657 MB / 1.403 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5581, allocations: 13.52 kB / 1.403 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5581, allocations: 3.938 kB / 1.403 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5581, allocations: 8 kB / 1.403 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.5585, allocations: 120 kB / 1.404 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.5585, allocations: 4 kB / 1.404 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.5589, allocations: 47.67 kB / 1.404 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.5589, allocations: 44.11 kB / 1.404 GB, free: 8.484 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003257/0.5593, allocations: 273.6 kB / 1.404 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5594, allocations: 79 kB / 1.404 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.5602, allocations: 399.2 kB / 1.404 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5602, allocations: 4 kB / 1.404 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5602, allocations: 8 kB / 1.404 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5602, allocations: 3.984 kB / 1.404 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.5608, allocations: 493.1 kB / 1.405 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5608, allocations: 320 / 1.405 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.5609, allocations: 31.98 kB / 1.405 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5609, allocations: 0 / 1.405 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.5609, allocations: 15.98 kB / 1.405 GB, free: 7.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.5609, allocations: 7.891 kB / 1.405 GB, free: 7.125 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5609, allocations: 0 / 1.405 GB, free: 7.125 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.5617, allocations: 483.3 kB / 1.405 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.5619, allocations: 172.1 kB / 1.406 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.562, allocations: 12 kB / 1.406 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.5622, allocations: 19.97 kB / 1.406 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.5623, allocations: 27.91 kB / 1.406 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.5623, allocations: 19.95 kB / 1.406 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008024/0.5631, allocations: 0.6161 MB / 1.406 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5632, allocations: 4 kB / 1.406 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004945/0.5637, allocations: 147.8 kB / 1.406 GB, free: 5.574 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002204/0.5659, allocations: 1.678 MB / 1.408 GB, free: 4.027 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.5667, allocations: 426.8 kB / 1.408 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5667, allocations: 0 / 1.408 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.567, allocations: 128.1 kB / 1.409 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.5678, allocations: 195.6 kB / 1.409 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.5709, allocations: 3.048 MB / 1.412 GB, free: 140 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.5715, allocations: 0.9483 MB / 1.413 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.5718, allocations: 113.6 kB / 1.413 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.5721, allocations: 231.3 kB / 1.413 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.5722, allocations: 4 kB / 1.413 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.6022, allocations: 13.84 MB / 1.426 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.6024, allocations: 241.1 kB / 1.427 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.918, allocations: 0 / 1.427 GB, free: 0.9844 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat