Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 63.98 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2425, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003449/0.246, allocations: 2.473 MB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.2483, allocations: 1.582 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2485, allocations: 11.88 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.249, allocations: 330.8 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.2495, allocations: 330.7 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.2503, allocations: 447.2 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.251, allocations: 0.7012 MB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2512, allocations: 85.7 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.2515, allocations: 310.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.2518, allocations: 318.7 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.2519, allocations: 35.94 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2521, allocations: 95.89 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.2523, allocations: 187.3 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.2525, allocations: 270.1 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006516/0.2532, allocations: 0.732 MB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2532, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2532, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.2532, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 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.001367/0.2546, allocations: 1.001 MB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2546, allocations: 8.031 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.2547, allocations: 42.73 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2548, allocations: 72 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.2556, allocations: 0.6327 MB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2557, allocations: 12.12 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2557, allocations: 12 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.256, allocations: 201.8 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2561, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.2561, allocations: 8 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2561, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.2563, allocations: 99.88 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2576, allocations: 1.059 MB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.2582, allocations: 277 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.2584, allocations: 108.2 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.2584, allocations: 8 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.2588, allocations: 232.6 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.2588, allocations: 0 / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0009065/0.2597, allocations: 416.5 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.2598, allocations: 170.1 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.261, allocations: 1.024 MB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.261, allocations: 41.64 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.2613, allocations: 292.8 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.2613, allocations: 83.08 kB / 1.077 GB, free: 236 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.2615, allocations: 138.1 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2616, allocations: 330 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.262, allocations: 209.2 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.2625, allocations: 307 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.2631, allocations: 417.8 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2631, allocations: 0 / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001063/0.2642, allocations: 0.667 MB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2642, allocations: 8.156 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2642, allocations: 4 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2642, allocations: 7.938 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.2646, allocations: 121 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2646, allocations: 4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.2649, allocations: 47.67 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.2649, allocations: 27.98 kB / 1.08 GB, free: 13.91 MB / 0.8419 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.0002705/0.2652, allocations: 271.6 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.2653, allocations: 79.05 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2654, allocations: 73.89 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2654, allocations: 3.938 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2654, allocations: 4 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2654, allocations: 3.984 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.2659, allocations: 461.2 kB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2659, allocations: 0 / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.2659, allocations: 20 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.266, allocations: 7.984 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.266, allocations: 4 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.266, allocations: 11.94 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.266, allocations: 0 / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.2666, allocations: 391.4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.2668, allocations: 160.1 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.2669, allocations: 15.98 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.267, allocations: 19.92 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2671, allocations: 19.97 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.2671, allocations: 16 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006943/0.2678, allocations: 0.6044 MB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2678, allocations: 0 / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003664/0.2682, allocations: 112 kB / 1.082 GB, free: 11.56 MB / 0.8419 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.002358/0.2705, allocations: 1.324 MB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.2713, allocations: 414.3 kB / 1.083 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2713, allocations: 0 / 1.083 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.2715, allocations: 103.9 kB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.2723, allocations: 214 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.2793, allocations: 5.99 MB / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.2799, allocations: 0.9323 MB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.2801, allocations: 108.9 kB / 1.091 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.2804, allocations: 235.3 kB / 1.091 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2804, allocations: 4 kB / 1.091 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.556/2.836, allocations: 13.34 MB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/15.69, allocations: 17.91 kB / 1.104 GB, free: 5.035 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)