Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.479/2.479, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 61.53 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2876, allocations: 157.4 MB / 1.052 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003219/0.2908, allocations: 2.519 MB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2929, allocations: 1.555 MB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.293, allocations: 7.875 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.2935, allocations: 307.2 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.294, allocations: 310.9 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.2947, allocations: 409.7 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.2953, allocations: 0.7089 MB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2954, allocations: 73.73 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.2958, allocations: 330.6 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.296, allocations: 338.6 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.2961, allocations: 28 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2962, allocations: 87.97 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.2964, allocations: 199.3 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.2966, allocations: 282.1 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.2972, allocations: 0.7281 MB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2972, allocations: 3.938 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2972, allocations: 7.984 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2972, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 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.001206/0.2984, allocations: 0.9951 MB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2984, allocations: 12.62 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.2985, allocations: 46.69 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.2986, allocations: 75.98 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.2993, allocations: 0.6172 MB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2994, allocations: 20.12 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2994, allocations: 15.92 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.2997, allocations: 195.2 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2998, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2998, allocations: 7.984 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2998, allocations: 4 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3, allocations: 99.88 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3011, allocations: 1.059 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.3017, allocations: 273 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3019, allocations: 112.2 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3019, allocations: 11.97 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.3023, allocations: 216.2 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.3023, allocations: 0 / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0008408/0.3031, allocations: 425.6 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.3032, allocations: 162.2 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3042, allocations: 1.036 MB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3043, allocations: 41.62 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3045, allocations: 284.9 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3045, allocations: 79.09 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3047, allocations: 142.1 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.3048, allocations: 330 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3052, allocations: 209.2 kB / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.3055, allocations: 307 kB / 1.067 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.3062, allocations: 410.6 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3062, allocations: 0 / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001014/0.3072, allocations: 0.6811 MB / 1.068 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3072, allocations: 4 kB / 1.068 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3072, allocations: 4 kB / 1.068 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3072, allocations: 4 kB / 1.068 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.3076, allocations: 123.7 kB / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3076, allocations: 4 kB / 1.068 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3079, allocations: 43.67 kB / 1.068 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.3079, allocations: 32.14 kB / 1.068 GB, free: 8.281 MB / 0.8262 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 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.3082, allocations: 269.6 kB / 1.068 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.3083, allocations: 67.16 kB / 1.068 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3084, allocations: 73.88 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3084, allocations: 7.938 kB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3084, allocations: 4 kB / 1.068 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3084, allocations: 3.938 kB / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.3088, allocations: 469.1 kB / 1.069 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3088, allocations: 0 / 1.069 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.3089, allocations: 28.05 kB / 1.069 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3089, allocations: 4 kB / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3089, allocations: 15.98 kB / 1.069 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3089, allocations: 7.938 kB / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3089, allocations: 0 / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.3095, allocations: 390.5 kB / 1.069 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3097, allocations: 160.1 kB / 1.069 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.3097, allocations: 12 kB / 1.069 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3099, allocations: 19.92 kB / 1.069 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.31, allocations: 19.97 kB / 1.069 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.31, allocations: 19.98 kB / 1.069 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006387/0.3106, allocations: 0.6122 MB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3107, allocations: 0 / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003859/0.311, allocations: 104 kB / 1.07 GB, free: 5.926 MB / 0.8262 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.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/0.3128, allocations: 1.307 MB / 1.071 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007419/0.3136, allocations: 422.1 kB / 1.072 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3136, allocations: 0 / 1.072 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.3138, allocations: 107.8 kB / 1.072 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.3146, allocations: 223.1 kB / 1.072 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007327/0.322, allocations: 6.095 MB / 1.078 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3224, allocations: 0.9207 MB / 1.079 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.3227, allocations: 116.9 kB / 1.079 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.323, allocations: 235.3 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.323, allocations: 0 / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.602/1.925, allocations: 13.17 MB / 1.092 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/1.925, allocations: 254.2 kB / 1.092 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/4.044, allocations: 64 / 1.092 GB, free: 15.2 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)