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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001093/0.001093, allocations: 192.4 kB / 16.13 MB, free: 6.707 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.102/1.102, allocations: 205.1 MB / 222 MB, free: 4.77 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.448/1.448, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001227/0.001227, allocations: 64.27 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002347/0.1601, allocations: 1.736 MB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.1609, allocations: 0.5071 MB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.161, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.811e-05/0.1611, allocations: 7.922 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.1611, allocations: 24.23 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1617, allocations: 267.2 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1619, allocations: 367.8 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.162, allocations: 29.38 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.1623, allocations: 230.2 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1625, allocations: 143.5 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.1626, allocations: 12 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.1626, allocations: 12 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.1627, allocations: 83.7 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.1629, allocations: 135.3 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.1632, allocations: 426.6 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1632, allocations: 0 / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.41e-07/0.1632, allocations: 0 / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1632, allocations: 4 kB / 0.7867 GB, free: 9.922 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.0009108/0.1641, allocations: 0.7771 MB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.1642, allocations: 8.031 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.1642, allocations: 42.55 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.1643, allocations: 35.62 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1646, allocations: 282.9 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.1646, allocations: 16 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.1647, allocations: 20 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/0.1657, allocations: 236.2 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1657, allocations: 0 / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1657, allocations: 7.984 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1657, allocations: 4 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.1665, allocations: 107.9 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.1675, allocations: 0.5628 MB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.1684, allocations: 178.5 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.1692, allocations: 112.7 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1692, allocations: 0 / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008618/0.1701, allocations: 227 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1701, allocations: 0 / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00233/0.1724, allocations: 464.3 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.1724, allocations: 59.39 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1727, allocations: 332.2 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.1727, allocations: 37.7 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1728, allocations: 101 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1728, allocations: 31.61 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.173, allocations: 109.5 kB / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.1731, allocations: 322.8 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1733, allocations: 95.94 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1735, allocations: 142 kB / 0.7908 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1738, allocations: 257.2 kB / 0.7911 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1738, allocations: 0 / 0.7911 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006076/0.1744, allocations: 427.2 kB / 0.7915 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.1745, allocations: 75.39 kB / 0.7915 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1745, allocations: 4 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.1745, allocations: 4 kB / 0.7916 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1746, allocations: 27.91 kB / 0.7916 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1747, allocations: 7.984 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.1751, allocations: 59.92 kB / 0.7916 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.1752, allocations: 39.98 kB / 0.7917 GB, free: 4.438 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.0001549/0.1753, allocations: 183.2 kB / 0.7919 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1754, allocations: 39.61 kB / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.1754, allocations: 26.36 kB / 0.7919 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1754, allocations: 4 kB / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1754, allocations: 0 / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1754, allocations: 3.938 kB / 0.7919 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.1773, allocations: 0.7324 MB / 0.7926 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1773, allocations: 4 kB / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.1774, allocations: 4 kB / 0.7927 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1774, allocations: 7.938 kB / 0.7927 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.1774, allocations: 19.97 kB / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1774, allocations: 0 / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1774, allocations: 0 / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.179, allocations: 454.9 kB / 0.7931 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.1792, allocations: 192.6 kB / 0.7933 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.1793, allocations: 19.94 kB / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.1797, allocations: 31.97 kB / 0.7933 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.1797, allocations: 7.984 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.1798, allocations: 43.97 kB / 0.7934 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001802/0.18, allocations: 231 kB / 0.7936 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.18, allocations: 0 / 0.7936 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002924/0.1803, allocations: 51.91 kB / 0.7937 GB, free: 2.309 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.001842/0.1821, allocations: 1.028 MB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.1832, allocations: 398.8 kB / 0.7951 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1832, allocations: 4.062 kB / 0.7951 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.1839, allocations: 107.9 kB / 0.7952 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1842, allocations: 36.62 kB / 0.7952 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.1874, allocations: 2.597 MB / 0.7977 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1877, allocations: 0.7516 MB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.741e-05/0.1877, allocations: 17.42 kB / 0.7985 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.1878, allocations: 31.42 kB / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.1878, allocations: 0 / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.856/2.044, allocations: 5.097 MB / 0.8035 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/2.045, allocations: 248.1 kB / 0.8037 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/4.062, allocations: 0 / 0.8037 GB, free: 7.961 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)