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.000987/0.000987, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009428/0.0009429, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.185/1.185, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.543/1.543, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001309/0.00131, allocations: 74.05 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002585/0.1771, allocations: 1.686 MB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.178, allocations: 480.3 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.1781, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.016e-05/0.1781, allocations: 15.8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.1782, allocations: 32.16 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.1788, allocations: 274.6 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1792, allocations: 419.4 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.1793, allocations: 25.39 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1795, allocations: 231.6 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.1797, allocations: 120 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.31e-05/0.1798, allocations: 28 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.1799, allocations: 32 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.18, allocations: 95.7 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1801, allocations: 151.3 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1805, allocations: 430.6 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1805, allocations: 0 / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1805, allocations: 0 / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.1805, allocations: 0 / 0.7874 GB, free: 9.383 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.0009438/0.1815, allocations: 0.7773 MB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1815, allocations: 12.03 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.1816, allocations: 50.67 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.1816, allocations: 40.55 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1819, allocations: 276.2 kB / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.182, allocations: 20.12 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.1821, allocations: 27.92 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.183, allocations: 233.3 kB / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.183, allocations: 0 / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.183, allocations: 0 / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.183, allocations: 4 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.1838, allocations: 107.9 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.1848, allocations: 0.5589 MB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.1858, allocations: 182.4 kB / 0.7896 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.1865, allocations: 116.8 kB / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1865, allocations: 0 / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008579/0.1874, allocations: 223 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.1874, allocations: 0 / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002336/0.1897, allocations: 463.9 kB / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1898, allocations: 63.41 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.19, allocations: 320.4 kB / 0.7907 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.1901, allocations: 37.7 kB / 0.7908 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1902, allocations: 105 kB / 0.7909 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1902, allocations: 39.59 kB / 0.7909 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1904, allocations: 105.5 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.1905, allocations: 318.8 kB / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.1907, allocations: 99.94 kB / 0.7914 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1909, allocations: 146 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1912, allocations: 259.8 kB / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1912, allocations: 0 / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006075/0.1918, allocations: 424.7 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.1919, allocations: 79.38 kB / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1919, allocations: 4 kB / 0.7923 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1919, allocations: 3.938 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.192, allocations: 23.92 kB / 0.7923 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.1921, allocations: 4 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.1925, allocations: 59.98 kB / 0.7924 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.1926, allocations: 39.98 kB / 0.7924 GB, free: 3.883 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.0001642/0.1927, allocations: 191.6 kB / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.1928, allocations: 31.62 kB / 0.7926 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.1929, allocations: 34.3 kB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1929, allocations: 0 / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1929, allocations: 0 / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1929, allocations: 8 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.1948, allocations: 0.7324 MB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1948, allocations: 0 / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1948, allocations: 8 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1949, allocations: 3.938 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.1949, allocations: 19.97 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1949, allocations: 0 / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1949, allocations: 0 / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.1965, allocations: 462.8 kB / 0.7938 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.1967, allocations: 188.6 kB / 0.794 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.1968, allocations: 16 kB / 0.794 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.1972, allocations: 27.95 kB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.1973, allocations: 12 kB / 0.7941 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.1973, allocations: 43.91 kB / 0.7941 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001828/0.1975, allocations: 235 kB / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1975, allocations: 0 / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003009/0.1978, allocations: 55.89 kB / 0.7944 GB, free: 1.746 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 (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.001861/0.1997, allocations: 1.015 MB / 0.7954 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.2008, allocations: 407 kB / 0.7958 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2008, allocations: 4 kB / 0.7958 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.2015, allocations: 119.8 kB / 0.7959 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.2019, allocations: 35.47 kB / 0.7959 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.2051, allocations: 2.52 MB / 0.7984 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2054, allocations: 0.7552 MB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.767e-05/0.2055, allocations: 13.44 kB / 0.7991 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.2055, allocations: 31.42 kB / 0.7992 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.2055, allocations: 0 / 0.7992 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.2246, allocations: 5.262 MB / 0.8043 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.113, allocations: 10.42 kB / 0.8043 GB, free: 7.543 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/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)