Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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_latest_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.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001641/0.001641, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 69.59 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2632, allocations: 157.4 MB / 1.052 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002592/0.2658, allocations: 1.797 MB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2671, allocations: 0.6909 MB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.2672, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.89e-05/0.2673, allocations: 7.922 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2674, allocations: 27.84 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.2681, allocations: 340.3 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.2685, allocations: 0.5267 MB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.2686, allocations: 29.11 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.269, allocations: 318.9 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.2693, allocations: 175.1 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.2694, allocations: 16 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.2695, allocations: 23.94 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2696, allocations: 115.6 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.2698, allocations: 202.8 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.2703, allocations: 0.5764 MB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2703, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2703, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.2703, allocations: 0 / 1.057 GB, free: 3.305 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001194/0.2715, allocations: 0.9054 MB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2716, allocations: 11.97 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.2716, allocations: 46.73 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2718, allocations: 52.47 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.2721, allocations: 342.1 kB / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.2722, allocations: 16.56 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.2723, allocations: 32.36 kB / 1.058 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2733, allocations: 239.3 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2733, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.2733, allocations: 0 / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2733, allocations: 4 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.2742, allocations: 111.9 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.2753, allocations: 0.6875 MB / 1.059 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2764, allocations: 182.5 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.2772, allocations: 116.8 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2772, allocations: 4 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009392/0.2782, allocations: 239 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.2782, allocations: 0 / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002631/0.2808, allocations: 499 kB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2809, allocations: 63.39 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.2813, allocations: 445.8 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.2813, allocations: 41.69 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.2814, allocations: 101.3 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.2815, allocations: 35.5 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.2816, allocations: 137.3 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.2817, allocations: 334.8 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.282, allocations: 135.9 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.2823, allocations: 197.9 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.2827, allocations: 294.5 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2827, allocations: 0 / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008383/0.2836, allocations: 0.533 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.556e-05/0.2837, allocations: 97.12 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2837, allocations: 4 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2837, allocations: 4 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2838, allocations: 27.91 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.2839, allocations: 4 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.2844, allocations: 63.73 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.2845, allocations: 55.98 kB / 1.063 GB, free: 12.97 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.0002219/0.2847, allocations: 220.3 kB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.2848, allocations: 35.53 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.2848, allocations: 47.78 kB / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2848, allocations: 0 / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2849, allocations: 3.984 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2849, allocations: 3.938 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.287, allocations: 0.7832 MB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2871, allocations: 3.938 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.2871, allocations: 4 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2871, allocations: 4 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.2872, allocations: 23.91 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2872, allocations: 4 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2872, allocations: 0 / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2889, allocations: 482.2 kB / 1.064 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.2892, allocations: 244.4 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/0.2893, allocations: 27.92 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.2898, allocations: 32.72 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.2898, allocations: 7.984 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.2899, allocations: 55.98 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002842/0.2902, allocations: 323.1 kB / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2902, allocations: 3.938 kB / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003466/0.2906, allocations: 64 kB / 1.065 GB, free: 10.53 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.002089/0.2927, allocations: 1.041 MB / 1.066 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.2939, allocations: 478.4 kB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.294, allocations: 3.938 kB / 1.067 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.2947, allocations: 124.2 kB / 1.067 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.2952, allocations: 40.81 kB / 1.067 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.2996, allocations: 3.111 MB / 1.07 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.2999, allocations: 0.7867 MB / 1.071 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.062e-05/0.3, allocations: 13.42 kB / 1.071 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.3001, allocations: 31.42 kB / 1.071 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3001, allocations: 4 kB / 1.071 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.3173, allocations: 6.621 MB / 1.077 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.3175, allocations: 233.6 kB / 1.077 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.986, allocations: 0.5 kB / 1.077 GB, free: 13.88 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)