Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001425/0.001425, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.559 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.526/2.526, allocations: 469.8 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 77.69 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2463, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002631/0.249, allocations: 1.788 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2501, allocations: 0.6246 MB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.2502, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.386e-05/0.2503, allocations: 11.92 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.2504, allocations: 27.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.251, allocations: 342.4 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.2516, allocations: 0.6321 MB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.2517, allocations: 29.09 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.2522, allocations: 386.9 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.2524, allocations: 183.1 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.2525, allocations: 40 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.2526, allocations: 40 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2527, allocations: 131.6 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.2529, allocations: 222.8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.2535, allocations: 0.6077 MB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2535, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2535, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2535, allocations: 0 / 1.069 GB, free: 9.457 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001154/0.2546, allocations: 0.9092 MB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2547, allocations: 12.03 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.2547, allocations: 46.69 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.2549, allocations: 52.45 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2552, allocations: 334.2 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.2553, allocations: 20.55 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.2554, allocations: 28.38 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/0.2563, allocations: 248.1 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2563, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2564, allocations: 3.984 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2564, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.2572, allocations: 111.9 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2583, allocations: 0.6797 MB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2594, allocations: 190.4 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.2601, allocations: 120.8 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2601, allocations: 0 / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.261, allocations: 223.2 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.261, allocations: 4 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.00244/0.2635, allocations: 0.4944 MB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.2635, allocations: 59.41 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.264, allocations: 441.9 kB / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.264, allocations: 41.69 kB / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.2641, allocations: 105.3 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.2642, allocations: 35.55 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.2644, allocations: 145.3 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2645, allocations: 326.8 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.2648, allocations: 135.9 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.2651, allocations: 193.9 kB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.2655, allocations: 301.2 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2655, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008513/0.2664, allocations: 0.5258 MB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.025e-05/0.2665, allocations: 95.38 kB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2665, allocations: 4 kB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2665, allocations: 7.938 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.2666, allocations: 15.98 kB / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2667, allocations: 4 kB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.2672, allocations: 63.67 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.2673, allocations: 71.97 kB / 1.074 GB, free: 3.129 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002287/0.2675, allocations: 208.4 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.2675, allocations: 35.53 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.2676, allocations: 43.78 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2676, allocations: 4 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2676, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2676, allocations: 7.875 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.2698, allocations: 0.7932 MB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2698, allocations: 0 / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.2698, allocations: 4 kB / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2698, allocations: 0 / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.2699, allocations: 35.89 kB / 1.075 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.2699, allocations: 7.938 kB / 1.075 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2699, allocations: 0 / 1.075 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.2716, allocations: 478.8 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.2719, allocations: 236.5 kB / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.272, allocations: 27.92 kB / 1.076 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.2724, allocations: 23.97 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.2725, allocations: 11.98 kB / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.2725, allocations: 59.97 kB / 1.076 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002973/0.2728, allocations: 319.1 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2729, allocations: 4 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003224/0.2732, allocations: 75.83 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.002071/0.2753, allocations: 1.038 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.2765, allocations: 482.4 kB / 1.078 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2765, allocations: 384 / 1.078 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.2773, allocations: 129.7 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2777, allocations: 43.33 kB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.282, allocations: 3.108 MB / 1.081 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.2824, allocations: 0.7825 MB / 1.082 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.544e-05/0.2825, allocations: 9.438 kB / 1.082 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.2826, allocations: 36.17 kB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2826, allocations: 0 / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4077/0.6903, allocations: 6.811 MB / 1.089 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.6905, allocations: 228.8 kB / 1.089 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.54, allocations: 2.953 kB / 1.089 GB, free: 3.863 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)