Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005533/0.005533, allocations: 172.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.548/1.548, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004785/0.0004785, allocations: 18.48 kB / 0.6745 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001627/0.179, allocations: 1.394 MB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.1799, allocations: 0.4993 MB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.18, allocations: 0 / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.087e-05/0.1801, allocations: 3.938 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1802, allocations: 28.22 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1808, allocations: 262.7 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1811, allocations: 367.8 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.1812, allocations: 25.39 kB / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1815, allocations: 230.2 kB / 0.7908 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1817, allocations: 131.5 kB / 0.7909 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1817, allocations: 8 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.1818, allocations: 12 kB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.1819, allocations: 79.72 kB / 0.791 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.182, allocations: 180.9 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.1824, allocations: 410.5 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1824, allocations: 0 / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1824, allocations: 4 kB / 0.7915 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1824, allocations: 0 / 0.7915 GB, free: 7.82 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.0008622/0.1833, allocations: 0.6759 MB / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1833, allocations: 16.02 kB / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.1834, allocations: 42.56 kB / 0.7923 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.1835, allocations: 39.61 kB / 0.7923 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1837, allocations: 278.9 kB / 0.7926 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1838, allocations: 16 kB / 0.7926 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.1839, allocations: 23.98 kB / 0.7926 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.1848, allocations: 241.3 kB / 0.7928 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1849, allocations: 0 / 0.7928 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.1849, allocations: 7.984 kB / 0.7928 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1849, allocations: 0 / 0.7928 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.1857, allocations: 119.9 kB / 0.793 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1867, allocations: 0.5666 MB / 0.7935 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.1878, allocations: 190.4 kB / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.1885, allocations: 128.8 kB / 0.7938 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1885, allocations: 4 kB / 0.7938 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008864/0.1894, allocations: 235.1 kB / 0.794 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1894, allocations: 0 / 0.794 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002456/0.1919, allocations: 493 kB / 0.7945 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1919, allocations: 59.41 kB / 0.7946 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1922, allocations: 328.3 kB / 0.7949 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.1923, allocations: 37.7 kB / 0.7949 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.1924, allocations: 101 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1924, allocations: 31.61 kB / 0.795 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.1925, allocations: 33.7 kB / 0.7951 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1926, allocations: 326.8 kB / 0.7954 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1928, allocations: 91.94 kB / 0.7955 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.193, allocations: 150.6 kB / 0.7956 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1934, allocations: 259.6 kB / 0.7959 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1934, allocations: 4 kB / 0.7959 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006398/0.194, allocations: 424.7 kB / 0.7963 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.1941, allocations: 75.39 kB / 0.7963 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1941, allocations: 4 kB / 0.7963 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1941, allocations: 4 kB / 0.7964 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1943, allocations: 27.91 kB / 0.7964 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1943, allocations: 192 / 0.7964 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.1948, allocations: 71.73 kB / 0.7964 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.1949, allocations: 43.98 kB / 0.7965 GB, free: 2.395 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 (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.0001925/0.1951, allocations: 188.4 kB / 0.7967 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1951, allocations: 23.72 kB / 0.7967 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1952, allocations: 34.34 kB / 0.7967 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1952, allocations: 0 / 0.7967 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1952, allocations: 0 / 0.7967 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1952, allocations: 3.938 kB / 0.7967 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.1972, allocations: 0.7585 MB / 0.7975 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1972, allocations: 4 kB / 0.7975 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.1973, allocations: 8 kB / 0.7975 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1973, allocations: 3.938 kB / 0.7975 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.1973, allocations: 15.97 kB / 0.7975 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1973, allocations: 0 / 0.7975 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1973, allocations: 3.938 kB / 0.7975 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.199, allocations: 478.9 kB / 0.798 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.1992, allocations: 192.6 kB / 0.7981 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.1993, allocations: 19.94 kB / 0.7982 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.1997, allocations: 31.97 kB / 0.7982 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1998, allocations: 7.984 kB / 0.7982 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.1998, allocations: 47.97 kB / 0.7982 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001978/0.2, allocations: 231 kB / 0.7985 GB, free: 276 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2, allocations: 4 kB / 0.7985 GB, free: 272 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003005/0.2003, allocations: 51.91 kB / 0.7985 GB, free: 220 kB / 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 (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.002018/0.2024, allocations: 1.039 MB / 0.7995 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.2035, allocations: 409.6 kB / 0.7999 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2035, allocations: 4.375 kB / 0.7999 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.2043, allocations: 123.9 kB / 0.8 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2047, allocations: 34.52 kB / 0.8001 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.2083, allocations: 2.617 MB / 0.8026 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2086, allocations: 0.7516 MB / 0.8034 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.968e-05/0.2086, allocations: 17.36 kB / 0.8034 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.2087, allocations: 31.42 kB / 0.8034 GB, free: 11 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2087, allocations: 4 kB / 0.8034 GB, free: 11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3195/0.5282, allocations: 4.999 MB / 0.8083 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.5284, allocations: 240.1 kB / 0.8085 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.209, allocations: 0.875 kB / 0.8085 GB, free: 5.941 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)