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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004656/0.004656, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.00175/0.00175, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.627/2.627, allocations: 482.6 MB / 0.7551 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 70 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2808, allocations: 162.3 MB / 1.242 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003445/0.2843, allocations: 2.473 MB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.2866, allocations: 1.582 MB / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2868, allocations: 11.88 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.2873, allocations: 322.8 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.2879, allocations: 334.6 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.2887, allocations: 447.2 kB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.2894, allocations: 0.7129 MB / 1.248 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.2895, allocations: 69.73 kB / 1.248 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.2899, allocations: 314.7 kB / 1.248 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.2903, allocations: 330.7 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.2903, allocations: 28 kB / 1.248 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.2905, allocations: 91.91 kB / 1.248 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.2907, allocations: 183.4 kB / 1.249 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.2909, allocations: 278.1 kB / 1.249 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.2917, allocations: 0.7469 MB / 1.25 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2917, allocations: 0 / 1.25 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2917, allocations: 4 kB / 1.25 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.2917, allocations: 0 / 1.25 GB, free: 0.9336 MB / 0.9669 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.001343/0.2931, allocations: 1.026 MB / 1.251 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.2931, allocations: 11.97 kB / 1.251 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.2931, allocations: 46.73 kB / 1.251 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2933, allocations: 80.45 kB / 1.251 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.2941, allocations: 0.6295 MB / 1.251 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2941, allocations: 20.11 kB / 1.251 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.2942, allocations: 12 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.2945, allocations: 201.1 kB / 1.252 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2946, allocations: 7.938 kB / 1.252 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2946, allocations: 0 / 1.252 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2946, allocations: 4 kB / 1.252 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.2948, allocations: 95.88 kB / 1.252 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.296, allocations: 1.059 MB / 1.253 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.2966, allocations: 273 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.2969, allocations: 112.2 kB / 1.253 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2969, allocations: 7.984 kB / 1.253 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.2973, allocations: 223.5 kB / 1.253 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.2973, allocations: 0 / 1.253 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.0008971/0.2982, allocations: 426.1 kB / 1.254 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.2983, allocations: 166.1 kB / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.2994, allocations: 1.04 MB / 1.255 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2995, allocations: 33.7 kB / 1.255 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.2997, allocations: 289 kB / 1.255 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.2998, allocations: 79.41 kB / 1.255 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3, allocations: 146.2 kB / 1.255 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3001, allocations: 326 kB / 1.256 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.3005, allocations: 217.3 kB / 1.256 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.3009, allocations: 307 kB / 1.256 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.3016, allocations: 408.5 kB / 1.257 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3016, allocations: 0 / 1.257 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001065/0.3027, allocations: 0.68 MB / 1.257 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3027, allocations: 10.03 kB / 1.257 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3027, allocations: 0 / 1.257 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3027, allocations: 15.92 kB / 1.257 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.3031, allocations: 115.8 kB / 1.257 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3031, allocations: 4 kB / 1.257 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3033, allocations: 39.81 kB / 1.257 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.3034, allocations: 28.16 kB / 1.257 GB, free: 8.469 MB / 0.9825 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.0002798/0.3037, allocations: 273.6 kB / 1.258 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3038, allocations: 79.48 kB / 1.258 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3039, allocations: 73.88 kB / 1.258 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3039, allocations: 7.938 kB / 1.258 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3039, allocations: 3.938 kB / 1.258 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3039, allocations: 4 kB / 1.258 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.3044, allocations: 461.2 kB / 1.258 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3044, allocations: 3.984 kB / 1.258 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.3044, allocations: 23.94 kB / 1.258 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3044, allocations: 0 / 1.258 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3045, allocations: 15.98 kB / 1.258 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3045, allocations: 3.938 kB / 1.258 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3045, allocations: 8 kB / 1.258 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.3051, allocations: 391.8 kB / 1.259 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3053, allocations: 164.6 kB / 1.259 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.3053, allocations: 8 kB / 1.259 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3055, allocations: 19.91 kB / 1.259 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3056, allocations: 23.98 kB / 1.259 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3056, allocations: 15.98 kB / 1.259 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006854/0.3063, allocations: 0.6044 MB / 1.26 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3063, allocations: 0 / 1.26 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000365/0.3067, allocations: 115.9 kB / 1.26 GB, free: 6.102 MB / 0.9825 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.002379/0.309, allocations: 1.314 MB / 1.261 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.3098, allocations: 403.1 kB / 1.261 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3098, allocations: 0 / 1.261 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.31, allocations: 112.1 kB / 1.261 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.3108, allocations: 217.1 kB / 1.262 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/0.3177, allocations: 5.785 MB / 1.267 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.3183, allocations: 0.9207 MB / 1.268 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.3185, allocations: 117.2 kB / 1.268 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.3188, allocations: 239.3 kB / 1.269 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3188, allocations: 0 / 1.269 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.255/1.573, allocations: 13.5 MB / 1.282 GB, free: 15.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.42, allocations: 12.88 kB / 1.282 GB, free: 15.65 MB / 1.014 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=400 --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)