Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001188/0.001188, allocations: 175.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 0.6305 GB, free: 9.91 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.0009427/0.0009424, allocations: 109.1 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005734/0.0005735, allocations: 21.31 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2897, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001749/0.2916, allocations: 1.344 MB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.2924, allocations: 439.1 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.2925, allocations: 0 / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.2925, allocations: 7.922 kB / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2927, allocations: 31.91 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.2933, allocations: 214.5 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.2935, allocations: 179.7 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2936, allocations: 25.44 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2938, allocations: 171.6 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.294, allocations: 127.7 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.294, allocations: 12 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.2941, allocations: 8 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.2942, allocations: 87.72 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.2942, allocations: 73.58 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.2945, allocations: 315.5 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.2945, allocations: 0 / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2945, allocations: 0 / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.2945, allocations: 0 / 0.9824 GB, free: 24.53 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.001017/0.2955, allocations: 0.6459 MB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2956, allocations: 11.97 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.2956, allocations: 46.48 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.2957, allocations: 39.58 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2961, allocations: 267.2 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.2961, allocations: 15.98 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.2962, allocations: 19.98 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.2965, allocations: 174.2 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2965, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2965, allocations: 4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2965, allocations: 11.94 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2967, allocations: 59.97 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.2977, allocations: 0.5588 MB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.2979, allocations: 134.7 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2979, allocations: 4 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.2983, allocations: 230 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.2984, allocations: 0 / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004754/0.2988, allocations: 281.2 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2989, allocations: 71.38 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2991, allocations: 316.4 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2992, allocations: 37.7 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2992, allocations: 101.1 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2993, allocations: 47.39 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.2993, allocations: 8 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.2994, allocations: 322.8 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2996, allocations: 108.2 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.2998, allocations: 154.4 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3, allocations: 165.8 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3, allocations: 0 / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005741/0.3006, allocations: 439 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.3006, allocations: 84.78 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3006, allocations: 4.188 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3007, allocations: 8 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3008, allocations: 23.92 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3008, allocations: 7.938 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.3013, allocations: 79.73 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.3014, allocations: 51.98 kB / 0.9868 GB, free: 19.76 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.0001632/0.3016, allocations: 185.7 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.3016, allocations: 31.61 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.3017, allocations: 34.36 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3017, allocations: 0 / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3017, allocations: 0 / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3017, allocations: 11.89 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.3023, allocations: 0.592 MB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3023, allocations: 0 / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.3023, allocations: 11.92 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3023, allocations: 4 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3024, allocations: 15.94 kB / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3024, allocations: 0 / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3024, allocations: 4 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.3027, allocations: 332.2 kB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.3029, allocations: 180.7 kB / 0.9881 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.303, allocations: 12 kB / 0.9882 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3032, allocations: 15.94 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3032, allocations: 23.91 kB / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3033, allocations: 27.98 kB / 0.9882 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001501/0.3034, allocations: 227 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3034, allocations: 0 / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002923/0.3037, allocations: 55.89 kB / 0.9885 GB, free: 17.92 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.0005748/0.3043, allocations: 0.8829 MB / 0.9894 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.3048, allocations: 365.7 kB / 0.9897 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3048, allocations: 384 / 0.9897 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3049, allocations: 75.91 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3052, allocations: 39.75 kB / 0.9898 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3062, allocations: 1.654 MB / 0.9914 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3064, allocations: 0.7595 MB / 0.9922 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.3065, allocations: 41.42 kB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.3067, allocations: 47.41 kB / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.3067, allocations: 0 / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.3222, allocations: 5.5 MB / 0.9976 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.3224, allocations: 219.7 kB / 0.9978 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.991, allocations: 4.062 kB / 0.9978 GB, free: 8.41 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)