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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.74/1.74, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.0009444/0.0009448, allocations: 192.4 kB / 372 MB, free: 10.26 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.494/1.494, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007802/0.0007802, allocations: 90.98 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004505, allocations: 13.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001927/0.206, allocations: 1.354 MB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.2069, allocations: 460 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.2071, allocations: 3.938 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.664e-05/0.2072, allocations: 3.938 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2073, allocations: 23.91 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.208, allocations: 211 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.2083, allocations: 307.4 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2085, allocations: 33.41 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.2088, allocations: 239.5 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2091, allocations: 131.7 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.2091, allocations: 12 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.2092, allocations: 8 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.2093, allocations: 79.77 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.2094, allocations: 81.52 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.2096, allocations: 319.5 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2096, allocations: 0 / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2096, allocations: 0 / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.2097, allocations: 4 kB / 0.9828 GB, free: 24.29 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.001107/0.2108, allocations: 0.6375 MB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2108, allocations: 12.03 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.2109, allocations: 38.55 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.211, allocations: 39.58 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.2113, allocations: 271.1 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.2114, allocations: 19.98 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.2115, allocations: 20 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.2118, allocations: 170.3 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2118, allocations: 4 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.2119, allocations: 4 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2119, allocations: 0 / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.212, allocations: 55.97 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.2131, allocations: 0.5666 MB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.2134, allocations: 134.7 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.2136, allocations: 64.83 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2136, allocations: 4 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004652/0.2141, allocations: 221.9 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.444e-06/0.2141, allocations: 4 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005705/0.2147, allocations: 294.6 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.2147, allocations: 63.33 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.215, allocations: 316.4 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.2151, allocations: 37.7 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.2151, allocations: 97.12 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.2152, allocations: 43.45 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.2152, allocations: 8 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.2153, allocations: 322.8 kB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.2155, allocations: 108.2 kB / 0.9863 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.2158, allocations: 158.4 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.216, allocations: 168.1 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.216, allocations: 7.938 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006636/0.2167, allocations: 437.9 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.2168, allocations: 75.39 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2168, allocations: 0 / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2168, allocations: 4 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.217, allocations: 31.86 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.217, allocations: 4 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.2175, allocations: 75.92 kB / 0.9872 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.2176, allocations: 59.97 kB / 0.9872 GB, free: 19.47 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.000204/0.2178, allocations: 195.2 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.2179, allocations: 31.62 kB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.2179, allocations: 30.36 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2179, allocations: 4 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.218, allocations: 3.953 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.218, allocations: 0 / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.2187, allocations: 0.5932 MB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2187, allocations: 0 / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.2187, allocations: 12 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2187, allocations: 0 / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2188, allocations: 19.92 kB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2188, allocations: 0 / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2188, allocations: 0 / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.2191, allocations: 332.3 kB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2193, allocations: 180.6 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.2193, allocations: 16 kB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2196, allocations: 23.94 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.2196, allocations: 15.97 kB / 0.9886 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.2197, allocations: 27.98 kB / 0.9887 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001775/0.2199, allocations: 231 kB / 0.9889 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2199, allocations: 0 / 0.9889 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003297/0.2202, allocations: 51.91 kB / 0.9889 GB, free: 17.63 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.0006154/0.2208, allocations: 0.883 MB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.2214, allocations: 370.7 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2214, allocations: 4 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2215, allocations: 72.58 kB / 0.9902 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.2219, allocations: 36.89 kB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.2239, allocations: 1.316 MB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2243, allocations: 0.7478 MB / 0.9923 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000154/0.2244, allocations: 41.42 kB / 0.9923 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2246, allocations: 55.34 kB / 0.9924 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.2246, allocations: 0 / 0.9924 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2416, allocations: 5.539 MB / 0.9978 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.2419, allocations: 236.3 kB / 0.998 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.941, allocations: 0 / 0.998 GB, free: 8.422 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)