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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008173, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001034/0.001034, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.65/1.65, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004845/0.0004847, allocations: 15.66 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001933/0.222, allocations: 1.37 MB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.223, allocations: 471.1 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.2232, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.2233, allocations: 11.86 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2234, allocations: 19.91 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.2242, allocations: 223.2 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.2246, allocations: 315.5 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2247, allocations: 21.11 kB / 0.7897 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.2251, allocations: 247.5 kB / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.2254, allocations: 139.7 kB / 0.79 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.2255, allocations: 11.94 kB / 0.79 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.2255, allocations: 12 kB / 0.7901 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2257, allocations: 83.77 kB / 0.7901 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.2257, allocations: 73.58 kB / 0.7902 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.226, allocations: 335.5 kB / 0.7905 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2261, allocations: 0 / 0.7905 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2261, allocations: 0 / 0.7905 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2261, allocations: 0 / 0.7905 GB, free: 8.605 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.00101/0.2271, allocations: 0.6798 MB / 0.7912 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2271, allocations: 8.031 kB / 0.7912 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2273, allocations: 39.58 kB / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2276, allocations: 283.1 kB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.2277, allocations: 16 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.2277, allocations: 23.94 kB / 0.7915 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.2286, allocations: 233.4 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2286, allocations: 4 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2286, allocations: 7.984 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2287, allocations: 4 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.2293, allocations: 119.9 kB / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2303, allocations: 0.5667 MB / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.2312, allocations: 198.4 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.2319, allocations: 120.8 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2319, allocations: 7.984 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007973/0.2327, allocations: 227.2 kB / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2327, allocations: 0 / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002132/0.2348, allocations: 495.5 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2349, allocations: 67.34 kB / 0.7935 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.2352, allocations: 316.4 kB / 0.7938 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.2353, allocations: 33.7 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.2353, allocations: 109 kB / 0.794 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.2354, allocations: 35.55 kB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2354, allocations: 8 kB / 0.794 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2355, allocations: 322.8 kB / 0.7943 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2357, allocations: 91.95 kB / 0.7944 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.236, allocations: 150.6 kB / 0.7945 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.2362, allocations: 162.1 kB / 0.7947 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2362, allocations: 4 kB / 0.7947 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006383/0.2369, allocations: 416.5 kB / 0.7951 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/0.2369, allocations: 79.58 kB / 0.7952 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.237, allocations: 4 kB / 0.7952 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.237, allocations: 4 kB / 0.7952 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2371, allocations: 27.91 kB / 0.7952 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2372, allocations: 4 kB / 0.7952 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.2376, allocations: 63.8 kB / 0.7953 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.2376, allocations: 47.92 kB / 0.7953 GB, free: 3.387 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.2378, allocations: 180.3 kB / 0.7955 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2379, allocations: 31.7 kB / 0.7955 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.2379, allocations: 30.36 kB / 0.7955 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.238, allocations: 4 kB / 0.7955 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.238, allocations: 4 kB / 0.7956 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.238, allocations: 0 / 0.7956 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.2398, allocations: 0.7597 MB / 0.7963 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2398, allocations: 0 / 0.7963 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.2399, allocations: 4 kB / 0.7963 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2399, allocations: 3.938 kB / 0.7963 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.2399, allocations: 19.97 kB / 0.7963 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2399, allocations: 4 kB / 0.7963 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2399, allocations: 3.984 kB / 0.7963 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.2414, allocations: 485.8 kB / 0.7968 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.2416, allocations: 180.7 kB / 0.797 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2417, allocations: 16 kB / 0.797 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.242, allocations: 39.97 kB / 0.797 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.2421, allocations: 7.984 kB / 0.797 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.2421, allocations: 43.97 kB / 0.7971 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002038/0.2424, allocations: 231 kB / 0.7973 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2424, allocations: 0 / 0.7973 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003446/0.2427, allocations: 59.8 kB / 0.7973 GB, free: 1.207 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.2429, allocations: 127.7 kB / 0.7975 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.2439, allocations: 414.5 kB / 0.7979 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2439, allocations: 4.312 kB / 0.7979 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.2446, allocations: 123.9 kB / 0.798 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.245, allocations: 39 kB / 0.798 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2462, allocations: 0.5424 MB / 0.7985 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2465, allocations: 0.7516 MB / 0.7993 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.943e-05/0.2466, allocations: 17.42 kB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2467, allocations: 15.44 kB / 0.7993 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2467, allocations: 0 / 0.7993 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.007208/0.2539, allocations: 3.877 MB / 0.8031 GB, free: 11.26 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: