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.369/2.369, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001573/0.001573, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.725/1.725, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.001061/0.001062, allocations: 87.91 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.373e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3043, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.956/1.26, allocations: 154 MB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.261, allocations: 79.77 kB / 1.369 GB, free: 84 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06635/1.327, allocations: 23.74 MB / 1.392 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.143e-06/1.327, allocations: 0 / 1.392 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.292e-05/1.327, allocations: 16.16 kB / 1.392 GB, free: 11.95 MB / 0.8542 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.001588/1.329, allocations: 0.7707 MB / 1.393 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.329, allocations: 12.03 kB / 1.393 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.876e-05/1.329, allocations: 41.73 kB / 1.393 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/1.329, allocations: 75.02 kB / 1.393 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.331, allocations: 0.6919 MB / 1.394 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.331, allocations: 13.67 kB / 1.394 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/1.331, allocations: 11.94 kB / 1.394 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/1.331, allocations: 199.6 kB / 1.394 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/1.331, allocations: 3.938 kB / 1.394 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.331, allocations: 7.25 kB / 1.394 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.331, allocations: 7.984 kB / 1.394 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/1.331, allocations: 108.8 kB / 1.394 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/1.333, allocations: 1.108 MB / 1.395 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/1.333, allocations: 264.1 kB / 1.396 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.334, allocations: 108.8 kB / 1.396 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/1.334, allocations: 11.89 kB / 1.396 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/1.334, allocations: 225.1 kB / 1.396 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 3.326e-06/1.334, allocations: 0 / 1.396 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0006372/1.335, allocations: 340.7 kB / 1.396 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/1.335, allocations: 165.1 kB / 1.397 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.336, allocations: 0.9493 MB / 1.397 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.336, allocations: 32.14 kB / 1.397 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.336, allocations: 289.8 kB / 1.398 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/1.336, allocations: 76.45 kB / 1.398 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/1.336, allocations: 21.42 kB / 1.398 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.336, allocations: 328 kB / 1.398 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/1.337, allocations: 248.4 kB / 1.398 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/1.337, allocations: 341.6 kB / 1.399 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/1.338, allocations: 269.8 kB / 1.399 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.338, allocations: 0 / 1.399 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001099/1.339, allocations: 0.7388 MB / 1.4 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.339, allocations: 12.16 kB / 1.4 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.339, allocations: 0 / 1.4 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.339, allocations: 8 kB / 1.4 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/1.339, allocations: 117.8 kB / 1.4 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.339, allocations: 11.92 kB / 1.4 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/1.34, allocations: 43.09 kB / 1.4 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/1.34, allocations: 38.86 kB / 1.4 GB, free: 5.391 MB / 0.8542 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 () * 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.0001378/1.34, allocations: 148 kB / 1.4 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.34, allocations: 83 kB / 1.4 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/1.341, allocations: 380.9 kB / 1.401 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.341, allocations: 4 kB / 1.401 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.341, allocations: 4 kB / 1.401 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.341, allocations: 0 / 1.401 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/1.341, allocations: 492.8 kB / 1.401 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.341, allocations: 0 / 1.401 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/1.341, allocations: 35.92 kB / 1.401 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/1.341, allocations: 4 kB / 1.401 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.341, allocations: 11.58 kB / 1.401 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.341, allocations: 7.922 kB / 1.401 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.341, allocations: 4 kB / 1.401 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/1.342, allocations: 454.5 kB / 1.401 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/1.342, allocations: 178.3 kB / 1.402 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/1.342, allocations: 14.86 kB / 1.402 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.343, allocations: 19.86 kB / 1.402 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/1.343, allocations: 30.98 kB / 1.402 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/1.343, allocations: 15.61 kB / 1.402 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007606/1.343, allocations: 0.6063 MB / 1.402 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.4e-07/1.343, allocations: 0 / 1.402 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005278/1.344, allocations: 141.5 kB / 1.402 GB, free: 3.133 MB / 0.8542 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) * 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.002042/1.346, allocations: 1.615 MB / 1.404 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006191/1.347, allocations: 404 kB / 1.404 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.347, allocations: 0 / 1.404 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/1.347, allocations: 119.4 kB / 1.405 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/1.348, allocations: 193.7 kB / 1.405 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/1.349, allocations: 1.07 MB / 1.406 GB, free: 200 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/1.35, allocations: 0.9461 MB / 1.407 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003213/1.35, allocations: 113 kB / 1.407 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.351, allocations: 229.8 kB / 1.407 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/1.351, allocations: 11.94 kB / 1.407 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/1.384, allocations: 13.97 MB / 1.421 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.385, allocations: 218.3 kB / 1.421 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.83, allocations: 0 / 1.421 GB, free: 1.121 MB / 0.8698 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