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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009189, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001157/0.001157, allocations: 172.7 kB / 15.95 MB, free: 208 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.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.599/1.599, 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.0004872/0.0004873, allocations: 19.16 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002026/0.2259, allocations: 1.374 MB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.227, allocations: 455.1 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.2271, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.196e-05/0.2272, allocations: 7.922 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2273, allocations: 27.84 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.2281, allocations: 219.1 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.2285, allocations: 319.5 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2286, allocations: 25.09 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.229, allocations: 243.5 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.2293, allocations: 143.6 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.982e-05/0.2294, allocations: 8 kB / 0.79 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/0.2294, allocations: 12 kB / 0.7901 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2296, allocations: 91.7 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.2297, allocations: 77.58 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.23, allocations: 327.5 kB / 0.7905 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.23, allocations: 0 / 0.7905 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.23, allocations: 0 / 0.7905 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.23, allocations: 0 / 0.7905 GB, free: 8.582 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.001043/0.231, allocations: 0.6798 MB / 0.7912 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2311, allocations: 8.031 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.2312, allocations: 47.56 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2316, allocations: 275.1 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.2316, allocations: 20 kB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.2317, allocations: 23.98 kB / 0.7916 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.2326, allocations: 233.4 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2326, allocations: 0 / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.2326, allocations: 4 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2326, allocations: 4 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.2333, allocations: 119.9 kB / 0.7919 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2344, allocations: 0.5704 MB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.2353, allocations: 194.5 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.236, allocations: 124.8 kB / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.236, allocations: 4 kB / 0.7928 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008075/0.2368, allocations: 227.1 kB / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.2368, allocations: 0 / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002169/0.239, allocations: 497.2 kB / 0.7935 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.2391, allocations: 59.41 kB / 0.7935 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.2394, allocations: 320.4 kB / 0.7938 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.2395, allocations: 37.7 kB / 0.7939 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.2396, allocations: 101 kB / 0.7939 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.2396, allocations: 39.53 kB / 0.794 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.2397, allocations: 8 kB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2398, allocations: 322.8 kB / 0.7943 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.24, allocations: 95.94 kB / 0.7944 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.2402, allocations: 150.5 kB / 0.7945 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.2405, allocations: 166 kB / 0.7947 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2405, allocations: 0 / 0.7947 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006757/0.2412, allocations: 416.6 kB / 0.7951 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.2413, allocations: 83.38 kB / 0.7952 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2413, allocations: 3.938 kB / 0.7952 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2413, allocations: 4 kB / 0.7952 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2415, allocations: 19.92 kB / 0.7952 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2415, allocations: 4 kB / 0.7952 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.2419, allocations: 71.92 kB / 0.7953 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.242, allocations: 43.98 kB / 0.7953 GB, free: 3.363 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.0002083/0.2422, allocations: 184.4 kB / 0.7955 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.2423, allocations: 27.7 kB / 0.7955 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.2423, allocations: 26.36 kB / 0.7955 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2423, allocations: 8 kB / 0.7955 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2423, allocations: 0 / 0.7955 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2423, allocations: 0 / 0.7955 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.2442, allocations: 0.7588 MB / 0.7963 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2442, allocations: 0 / 0.7963 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.2442, allocations: 4 kB / 0.7963 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2442, allocations: 3.984 kB / 0.7963 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.2443, allocations: 19.97 kB / 0.7963 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2443, allocations: 7.938 kB / 0.7963 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2443, allocations: 0 / 0.7963 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.2457, allocations: 486.8 kB / 0.7968 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.2459, allocations: 180.7 kB / 0.797 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.246, allocations: 16 kB / 0.797 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.2464, allocations: 35.97 kB / 0.797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.2464, allocations: 11.98 kB / 0.797 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.2465, allocations: 43.97 kB / 0.7971 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002287/0.2467, allocations: 227 kB / 0.7973 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2468, allocations: 0 / 0.7973 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003523/0.2471, allocations: 59.8 kB / 0.7973 GB, free: 1.191 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.0001853/0.2473, allocations: 135.6 kB / 0.7975 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.2484, allocations: 406.9 kB / 0.7979 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2484, allocations: 0 / 0.7979 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.2491, allocations: 131.8 kB / 0.798 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2495, allocations: 36.69 kB / 0.798 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2509, allocations: 0.5376 MB / 0.7985 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.2513, allocations: 0.7555 MB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.765e-05/0.2514, allocations: 13.42 kB / 0.7993 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.2514, allocations: 11.44 kB / 0.7993 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2.294e-06/0.2514, allocations: 0 / 0.7993 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.007706/0.2591, allocations: 3.884 MB / 0.8031 GB, free: 11.24 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: