Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.0008915/0.0008914, allocations: 91.77 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.005678/0.005679, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.222/1.222, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.558/1.558, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004728/0.0004728, allocations: 18.38 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001553/0.1763, allocations: 1.394 MB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.1772, allocations: 0.4993 MB / 0.7899 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.1773, allocations: 0 / 0.7899 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.1774, allocations: 7.938 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.1775, allocations: 24.22 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.178, allocations: 254.4 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.1783, allocations: 371.8 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.1784, allocations: 29.39 kB / 0.7905 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.1787, allocations: 230.2 kB / 0.7908 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1789, allocations: 127.5 kB / 0.7909 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.179, allocations: 12 kB / 0.7909 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.179, allocations: 8 kB / 0.7909 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.1791, allocations: 83.7 kB / 0.791 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1793, allocations: 165 kB / 0.7911 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1797, allocations: 418.5 kB / 0.7915 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1797, allocations: 0 / 0.7915 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1797, allocations: 0 / 0.7915 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1797, allocations: 0 / 0.7915 GB, free: 7.848 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.0008319/0.1805, allocations: 0.6798 MB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1806, allocations: 12.02 kB / 0.7922 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.1806, allocations: 38.56 kB / 0.7922 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.1807, allocations: 35.62 kB / 0.7923 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.181, allocations: 290.8 kB / 0.7926 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.181, allocations: 16 kB / 0.7926 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.1811, allocations: 19.98 kB / 0.7926 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009513/0.1821, allocations: 241.3 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1821, allocations: 0 / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1821, allocations: 3.984 kB / 0.7928 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1821, allocations: 7.938 kB / 0.7928 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.1829, allocations: 123.9 kB / 0.7929 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.1839, allocations: 0.5627 MB / 0.7935 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1849, allocations: 198.4 kB / 0.7937 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/0.1857, allocations: 132.7 kB / 0.7938 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1857, allocations: 3.984 kB / 0.7938 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008807/0.1866, allocations: 227.1 kB / 0.794 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1866, allocations: 0 / 0.794 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002379/0.189, allocations: 496 kB / 0.7945 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1891, allocations: 63.41 kB / 0.7946 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1893, allocations: 324.3 kB / 0.7949 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.1894, allocations: 41.7 kB / 0.7949 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1895, allocations: 101 kB / 0.795 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1895, allocations: 31.61 kB / 0.795 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.1896, allocations: 37.7 kB / 0.7951 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.1897, allocations: 322.8 kB / 0.7954 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1899, allocations: 95.94 kB / 0.7955 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.1901, allocations: 146.6 kB / 0.7956 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1905, allocations: 255.9 kB / 0.7959 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1905, allocations: 4 kB / 0.7959 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006386/0.1911, allocations: 424.7 kB / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.1912, allocations: 75.39 kB / 0.7963 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1912, allocations: 4 kB / 0.7963 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1912, allocations: 4 kB / 0.7963 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1914, allocations: 27.91 kB / 0.7964 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1914, allocations: 4 kB / 0.7964 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.1918, allocations: 67.98 kB / 0.7964 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.1919, allocations: 43.98 kB / 0.7965 GB, free: 2.414 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.0001703/0.1921, allocations: 176.4 kB / 0.7967 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.1921, allocations: 27.72 kB / 0.7967 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.1922, allocations: 30.36 kB / 0.7967 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1922, allocations: 7.984 kB / 0.7967 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1922, allocations: 0 / 0.7967 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1922, allocations: 7.922 kB / 0.7967 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1942, allocations: 0.7558 MB / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1942, allocations: 0 / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1942, allocations: 8 kB / 0.7975 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1942, allocations: 7.938 kB / 0.7975 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.1943, allocations: 15.97 kB / 0.7975 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1943, allocations: 0 / 0.7975 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1943, allocations: 0 / 0.7975 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.196, allocations: 482.8 kB / 0.798 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.1961, allocations: 196.6 kB / 0.7981 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.1962, allocations: 19.94 kB / 0.7982 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.1967, allocations: 35.97 kB / 0.7982 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1967, allocations: 7.984 kB / 0.7982 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.1968, allocations: 39.97 kB / 0.7982 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001927/0.197, allocations: 231 kB / 0.7985 GB, free: 296 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.197, allocations: 0 / 0.7985 GB, free: 296 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003015/0.1973, allocations: 52 kB / 0.7985 GB, free: 244 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.00196/0.1992, allocations: 1.043 MB / 0.7995 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2003, allocations: 402.6 kB / 0.7999 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2004, allocations: 0 / 0.7999 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.2011, allocations: 132.2 kB / 0.8 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2015, allocations: 35.06 kB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.2049, allocations: 2.616 MB / 0.8026 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2052, allocations: 0.7555 MB / 0.8034 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.2053, allocations: 13.42 kB / 0.8034 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.2054, allocations: 35.36 kB / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.2054, allocations: 0 / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/0.4535, allocations: 4.998 MB / 0.8083 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.4537, allocations: 251 kB / 0.8085 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.042, allocations: 0 / 0.8085 GB, free: 5.953 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)