Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.298/2.298, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001167/0.001167, allocations: 180 kB / 0.4901 GB, free: 2.246 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.537/1.537, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008657/0.0008655, allocations: 94.44 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 10.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3088, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.5348, allocations: 154 MB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.5353, allocations: 79.95 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09587/0.6312, allocations: 23.8 MB / 1.403 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.235e-06/0.6312, allocations: 0 / 1.403 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001421/0.6314, allocations: 16 kB / 1.403 GB, free: 7.496 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.003164/0.6346, allocations: 0.9686 MB / 1.404 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.6346, allocations: 8.562 kB / 1.404 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.6348, allocations: 46.55 kB / 1.404 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.6352, allocations: 79.02 kB / 1.404 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.6378, allocations: 0.6904 MB / 1.405 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.6379, allocations: 15.98 kB / 1.405 GB, free: 5.586 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.6379, allocations: 12 kB / 1.405 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.6386, allocations: 196.5 kB / 1.405 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6386, allocations: 3.938 kB / 1.405 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.6387, allocations: 15.98 kB / 1.405 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.6387, allocations: 4 kB / 1.405 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.6391, allocations: 111.8 kB / 1.405 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.6419, allocations: 1.11 MB / 1.406 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.6429, allocations: 293.3 kB / 1.406 GB, free: 3.723 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.6429, allocations: 4 kB / 1.406 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006567/0.6436, allocations: 240.7 kB / 1.407 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.6436, allocations: 4 kB / 1.407 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.001767/0.6454, allocations: 445.2 kB / 1.407 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.6455, allocations: 162.2 kB / 1.407 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.648, allocations: 0.953 MB / 1.408 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.6481, allocations: 37.7 kB / 1.408 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.6485, allocations: 288.9 kB / 1.409 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6486, allocations: 83.08 kB / 1.409 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.6487, allocations: 8 kB / 1.409 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.649, allocations: 330 kB / 1.409 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/0.6498, allocations: 257.2 kB / 1.409 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.6507, allocations: 347 kB / 1.41 GB, free: 496 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.6516, allocations: 287.4 kB / 1.41 GB, free: 212 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6516, allocations: 0 / 1.41 GB, free: 212 kB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002326/0.654, allocations: 0.7687 MB / 1.411 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.654, allocations: 7.953 kB / 1.411 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.654, allocations: 4 kB / 1.411 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.6541, allocations: 4 kB / 1.411 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.6548, allocations: 115.8 kB / 1.411 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.6548, allocations: 4 kB / 1.411 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.6555, allocations: 47.92 kB / 1.411 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.6556, allocations: 39.92 kB / 1.411 GB, free: 15.21 MB / 0.9167 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.0005923/0.6562, allocations: 271.4 kB / 1.411 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.6565, allocations: 79 kB / 1.411 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6578, allocations: 415.7 kB / 1.411 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6578, allocations: 4 kB / 1.411 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6579, allocations: 0 / 1.411 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6579, allocations: 3.984 kB / 1.411 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.6588, allocations: 489.1 kB / 1.412 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6588, allocations: 0 / 1.412 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.659, allocations: 31.92 kB / 1.412 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.659, allocations: 7.984 kB / 1.412 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.659, allocations: 11.98 kB / 1.412 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.659, allocations: 3.953 kB / 1.412 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6591, allocations: 8 kB / 1.412 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.6603, allocations: 471.8 kB / 1.412 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.6607, allocations: 176.1 kB / 1.413 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.6609, allocations: 15.92 kB / 1.413 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.6613, allocations: 19.98 kB / 1.413 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.6614, allocations: 23.97 kB / 1.413 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.6615, allocations: 23.94 kB / 1.413 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00145/0.663, allocations: 0.6122 MB / 1.413 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.11e-07/0.663, allocations: 0 / 1.413 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009145/0.6639, allocations: 143.9 kB / 1.413 GB, free: 12.31 MB / 0.9167 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.003533/0.6674, allocations: 1.686 MB / 1.415 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.6688, allocations: 425.3 kB / 1.416 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6688, allocations: 4.312 kB / 1.416 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.6692, allocations: 131.8 kB / 1.416 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6704, allocations: 185.2 kB / 1.416 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/0.6754, allocations: 3.06 MB / 1.419 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.6763, allocations: 0.9405 MB / 1.42 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005747/0.6769, allocations: 117 kB / 1.42 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/0.6775, allocations: 231.3 kB / 1.42 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.6775, allocations: 4 kB / 1.42 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.649/1.327, allocations: 13.85 MB / 1.434 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.327, allocations: 233.2 kB / 1.434 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.835, allocations: 0.625 kB / 1.434 GB, free: 180.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat