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.0009988/0.0009988, allocations: 90.52 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.005537/0.005537, allocations: 171.1 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.195/1.195, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.533/1.533, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004793/0.0004794, allocations: 13.75 kB / 0.6745 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001639/0.1855, allocations: 1.394 MB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.1865, allocations: 0.4993 MB / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.1865, allocations: 3.938 kB / 0.7899 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.4e-05/0.1866, allocations: 11.92 kB / 0.7899 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1867, allocations: 28.22 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.1873, allocations: 254.9 kB / 0.7902 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.1876, allocations: 359.8 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.1877, allocations: 37.38 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.188, allocations: 226.2 kB / 0.7908 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1882, allocations: 135.5 kB / 0.7909 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.1883, allocations: 12 kB / 0.7909 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.1883, allocations: 8 kB / 0.7909 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.1884, allocations: 83.7 kB / 0.791 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1886, allocations: 161 kB / 0.7911 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.189, allocations: 418.5 kB / 0.7915 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.189, allocations: 0 / 0.7915 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.189, allocations: 4 kB / 0.7915 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.189, allocations: 0 / 0.7915 GB, free: 7.852 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.0008559/0.1899, allocations: 0.6759 MB / 0.7922 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1899, allocations: 8.031 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.19, allocations: 42.55 kB / 0.7922 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.1901, allocations: 35.62 kB / 0.7923 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1904, allocations: 286.9 kB / 0.7926 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.1904, allocations: 19.98 kB / 0.7926 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.1905, allocations: 20 kB / 0.7926 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.1915, allocations: 237.3 kB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1915, allocations: 0 / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.1915, allocations: 8 kB / 0.7928 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1915, allocations: 4 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.1923, allocations: 123.8 kB / 0.7929 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1934, allocations: 0.5628 MB / 0.7935 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1944, allocations: 198.4 kB / 0.7937 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.1952, allocations: 124.8 kB / 0.7938 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1952, allocations: 3.938 kB / 0.7938 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009009/0.1961, allocations: 235.1 kB / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1961, allocations: 0 / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002474/0.1986, allocations: 485.1 kB / 0.7945 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1986, allocations: 67.34 kB / 0.7946 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1989, allocations: 324.3 kB / 0.7949 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.199, allocations: 41.69 kB / 0.7949 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1991, allocations: 93.05 kB / 0.795 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.1992, allocations: 39.61 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1992, allocations: 33.7 kB / 0.7951 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.1993, allocations: 326.8 kB / 0.7954 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1995, allocations: 95.88 kB / 0.7955 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.1998, allocations: 146.6 kB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2001, allocations: 256 kB / 0.7959 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2001, allocations: 3.938 kB / 0.7959 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006368/0.2007, allocations: 424.7 kB / 0.7963 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.2008, allocations: 79.38 kB / 0.7963 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2008, allocations: 4 kB / 0.7963 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2008, allocations: 4 kB / 0.7963 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.201, allocations: 23.92 kB / 0.7964 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.201, allocations: 4 kB / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.2015, allocations: 67.98 kB / 0.7964 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.2015, allocations: 39.98 kB / 0.7965 GB, free: 2.434 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.0001738/0.2017, allocations: 188.3 kB / 0.7967 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2018, allocations: 23.72 kB / 0.7967 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.2018, allocations: 34.36 kB / 0.7967 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2018, allocations: 4 kB / 0.7967 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2018, allocations: 0 / 0.7967 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2019, allocations: 3.938 kB / 0.7967 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.2039, allocations: 0.7547 MB / 0.7975 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2039, allocations: 0 / 0.7975 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.2039, allocations: 8 kB / 0.7975 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.204, allocations: 7.922 kB / 0.7975 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.204, allocations: 23.98 kB / 0.7975 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.204, allocations: 0 / 0.7975 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.204, allocations: 0 / 0.7975 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.2057, allocations: 474.9 kB / 0.7979 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.2059, allocations: 192.6 kB / 0.7981 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.2059, allocations: 23.94 kB / 0.7982 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.2064, allocations: 39.95 kB / 0.7982 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2064, allocations: 4 kB / 0.7982 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.2065, allocations: 43.97 kB / 0.7982 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001915/0.2067, allocations: 227 kB / 0.7985 GB, free: 316 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2067, allocations: 0 / 0.7985 GB, free: 316 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003084/0.207, allocations: 55.98 kB / 0.7985 GB, free: 260 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.00198/0.209, allocations: 1.036 MB / 0.7995 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.2101, allocations: 412.8 kB / 0.7999 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2101, allocations: 0 / 0.7999 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.2109, allocations: 136.2 kB / 0.8 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.2113, allocations: 32.56 kB / 0.8001 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.2149, allocations: 2.612 MB / 0.8026 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2152, allocations: 0.7516 MB / 0.8034 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.536e-05/0.2153, allocations: 17.58 kB / 0.8034 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.2153, allocations: 31.42 kB / 0.8034 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2153, allocations: 3.938 kB / 0.8034 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08627/0.3016, allocations: 4.997 MB / 0.8083 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.3018, allocations: 234.8 kB / 0.8085 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.876, allocations: 0 / 0.8085 GB, free: 5.973 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)