Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 100 kB / 15.05 MB, free: 1.105 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.001676/0.001676, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.6 MB / 0.5497 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005204, allocations: 15.44 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 116.3 MB / 0.7873 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002167/0.268, allocations: 1.355 MB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2691, allocations: 463 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.2692, allocations: 0 / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.209e-05/0.2693, allocations: 7.922 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2694, allocations: 27.84 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.2702, allocations: 218.7 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.2705, allocations: 195.6 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2706, allocations: 25.11 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.2709, allocations: 171.6 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2712, allocations: 139.7 kB / 0.7898 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.2712, allocations: 11.94 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.2713, allocations: 12 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2714, allocations: 75.78 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.2715, allocations: 81.56 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.2718, allocations: 323.5 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2718, allocations: 0 / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2718, allocations: 4 kB / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2718, allocations: 0 / 0.7903 GB, free: 8.766 MB / 0.6075 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.001022/0.2729, allocations: 0.6914 MB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2729, allocations: 8.031 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.273, allocations: 42.55 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.2731, allocations: 43.52 kB / 0.791 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2735, allocations: 267.2 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.2736, allocations: 19.98 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.2737, allocations: 24 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.2746, allocations: 240.1 kB / 0.7915 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2747, allocations: 3.938 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.2747, allocations: 4 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2747, allocations: 4 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.2755, allocations: 119.9 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2767, allocations: 0.5667 MB / 0.7922 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2777, allocations: 190.5 kB / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2778, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009152/0.2787, allocations: 239.1 kB / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.2787, allocations: 0 / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002487/0.2812, allocations: 499.9 kB / 0.7931 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2813, allocations: 59.41 kB / 0.7932 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.2816, allocations: 312.5 kB / 0.7935 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2816, allocations: 45.69 kB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.2817, allocations: 96.98 kB / 0.7936 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2818, allocations: 39.55 kB / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.2818, allocations: 8 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2819, allocations: 322.8 kB / 0.794 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2821, allocations: 95.94 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.2823, allocations: 146.6 kB / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.2826, allocations: 159.3 kB / 0.7943 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2826, allocations: 0 / 0.7943 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006641/0.2833, allocations: 424.7 kB / 0.7947 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.2833, allocations: 82.5 kB / 0.7948 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2834, allocations: 0 / 0.7948 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2834, allocations: 4 kB / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.2836, allocations: 31.92 kB / 0.7949 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2836, allocations: 0 / 0.7949 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.284, allocations: 67.86 kB / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.2841, allocations: 39.98 kB / 0.795 GB, free: 3.625 MB / 0.6075 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002296/0.2844, allocations: 192.3 kB / 0.7951 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.2844, allocations: 23.72 kB / 0.7952 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.2845, allocations: 30.36 kB / 0.7952 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2845, allocations: 3.984 kB / 0.7952 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2845, allocations: 0 / 0.7952 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2845, allocations: 4 kB / 0.7952 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.2866, allocations: 0.7557 MB / 0.7959 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2866, allocations: 3.938 kB / 0.7959 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.2867, allocations: 4 kB / 0.796 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2867, allocations: 4 kB / 0.796 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.2867, allocations: 19.97 kB / 0.796 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2868, allocations: 0 / 0.796 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2868, allocations: 4 kB / 0.796 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.2884, allocations: 485.9 kB / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.2887, allocations: 184.7 kB / 0.7966 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.2888, allocations: 16 kB / 0.7966 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.2892, allocations: 43.95 kB / 0.7967 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2893, allocations: 7.938 kB / 0.7967 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.2893, allocations: 43.97 kB / 0.7967 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002411/0.2896, allocations: 223 kB / 0.7969 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2896, allocations: 0 / 0.7969 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004067/0.29, allocations: 59.84 kB / 0.797 GB, free: 1.445 MB / 0.6075 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 (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.002052/0.2921, allocations: 1.029 MB / 0.798 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.2933, allocations: 406.5 kB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2933, allocations: 0 / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.2941, allocations: 136.2 kB / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2944, allocations: 27.08 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.2964, allocations: 1.73 MB / 0.8002 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2967, allocations: 0.7555 MB / 0.801 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.802e-05/0.2968, allocations: 13.42 kB / 0.801 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.2968, allocations: 35.42 kB / 0.801 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.2968, allocations: 0 / 0.801 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.3289, allocations: 5.027 MB / 0.8059 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.3291, allocations: 209 kB / 0.8061 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.325, allocations: 0 / 0.8061 GB, free: 8.113 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: