Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.798/2.798, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 174.2 kB / 371 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009821/0.0009817, allocations: 94.05 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005077, allocations: 14.47 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002023/0.2644, allocations: 1.355 MB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2657, allocations: 462.7 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2659, allocations: 3.938 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.266, allocations: 11.92 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2661, allocations: 19.86 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.2671, allocations: 211.1 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.2675, allocations: 307.5 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2677, allocations: 29.41 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000527/0.2682, allocations: 235.5 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.2685, allocations: 139.7 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2687, allocations: 12 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.2688, allocations: 8 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2689, allocations: 79.78 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2691, allocations: 81.52 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.2694, allocations: 315.5 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2695, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2695, allocations: 3.938 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2695, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 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.001564/0.2711, allocations: 0.6492 MB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.2711, allocations: 8.031 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.2712, allocations: 42.55 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.2714, allocations: 39.58 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.2718, allocations: 271.1 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.2719, allocations: 15.98 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.272, allocations: 20 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2725, allocations: 169.5 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2725, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.2726, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2726, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.2728, allocations: 59.97 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.2746, allocations: 0.5627 MB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.2751, allocations: 138.6 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2754, allocations: 60.83 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.2754, allocations: 4 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006555/0.2761, allocations: 232.3 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.136e-06/0.2761, allocations: 0 / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009493/0.2771, allocations: 286.7 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.2772, allocations: 63.39 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.2776, allocations: 320.4 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.2777, allocations: 41.69 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.2778, allocations: 97.12 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.2779, allocations: 43.45 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.278, allocations: 11.98 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.278, allocations: 322.8 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.2784, allocations: 108.2 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.2788, allocations: 154.4 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.2792, allocations: 164.1 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2792, allocations: 0 / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001102/0.2803, allocations: 439.1 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/0.2805, allocations: 83.38 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2805, allocations: 4 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.2805, allocations: 3.953 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.2808, allocations: 27.92 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2809, allocations: 3.984 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.2818, allocations: 79.92 kB / 0.986 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.282, allocations: 55.97 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.2823, allocations: 185.7 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.2824, allocations: 27.62 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.238e-05/0.2825, allocations: 34.36 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2825, allocations: 7.953 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2825, allocations: 0 / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2825, allocations: 3.984 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2836, allocations: 0.5891 MB / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2837, allocations: 0 / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.2838, allocations: 7.984 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.2838, allocations: 7.953 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.2839, allocations: 11.98 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2839, allocations: 0 / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2839, allocations: 4 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.2845, allocations: 333.3 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.2848, allocations: 188.6 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.2849, allocations: 15.95 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.2853, allocations: 11.98 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.2854, allocations: 19.97 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.2855, allocations: 31.98 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002944/0.2858, allocations: 227 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2858, allocations: 3.938 kB / 0.9877 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005731/0.2864, allocations: 55.89 kB / 0.9877 GB, free: 18.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.2875, allocations: 0.8783 MB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009084/0.2885, allocations: 372.8 kB / 0.989 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.2885, allocations: 4 kB / 0.989 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.2888, allocations: 67.97 kB / 0.989 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.2895, allocations: 37.7 kB / 0.9891 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.2928, allocations: 1.304 MB / 0.9903 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2931, allocations: 0.7595 MB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.2934, allocations: 37.38 kB / 0.9911 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2936, allocations: 55.41 kB / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of SimCode: time 8.576e-06/0.2937, allocations: 0 / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.3231, allocations: 5.528 MB / 0.9966 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.3234, allocations: 229.6 kB / 0.9968 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/2.994, allocations: 4 kB / 0.9968 GB, free: 9.129 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)