Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007283/0.0007283, allocations: 91.69 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.00468/0.00468, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 266 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004457, allocations: 14.09 kB / 0.5986 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002113/0.2082, allocations: 1.198 MB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2094, allocations: 443.3 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.2094, allocations: 4 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.272e-05/0.2095, allocations: 3.938 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2096, allocations: 20.28 kB / 0.6867 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.2102, allocations: 224 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.2106, allocations: 300.5 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.642e-05/0.2106, allocations: 18.25 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.2109, allocations: 218.3 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.2111, allocations: 127.6 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.2112, allocations: 12 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.2112, allocations: 8 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2114, allocations: 84.2 kB / 0.6877 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2115, allocations: 145.8 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.2118, allocations: 291.2 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2119, allocations: 0.75 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2119, allocations: 0 / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2119, allocations: 1.281 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009148/0.2128, allocations: 0.657 MB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2129, allocations: 8.688 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.774e-05/0.2129, allocations: 35.72 kB / 0.6888 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2132, allocations: 259.4 kB / 0.689 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.2133, allocations: 19.98 kB / 0.6891 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.2134, allocations: 15.41 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/0.2143, allocations: 213.4 kB / 0.6893 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2143, allocations: 4.656 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.2144, allocations: 11.98 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2144, allocations: 0.8438 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.2151, allocations: 105.5 kB / 0.6894 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.2155, allocations: 317.2 kB / 0.6897 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2165, allocations: 194.4 kB / 0.6899 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007347/0.2173, allocations: 120.8 kB / 0.69 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2173, allocations: 0 / 0.69 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.2182, allocations: 233.4 kB / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2182, allocations: 0 / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002489/0.2207, allocations: 477 kB / 0.6907 GB, free: 9.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.2208, allocations: 67.39 kB / 0.6907 GB, free: 9.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.2211, allocations: 290.9 kB / 0.691 GB, free: 8.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.2211, allocations: 33.7 kB / 0.691 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2212, allocations: 93.12 kB / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.2213, allocations: 35.56 kB / 0.6912 GB, free: 8.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.2213, allocations: 37.69 kB / 0.6912 GB, free: 8.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2215, allocations: 326.8 kB / 0.6915 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2217, allocations: 79.95 kB / 0.6916 GB, free: 8.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.2219, allocations: 139.8 kB / 0.6917 GB, free: 8.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.2222, allocations: 239.1 kB / 0.692 GB, free: 7.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2222, allocations: 0 / 0.692 GB, free: 7.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006194/0.2228, allocations: 390.8 kB / 0.6923 GB, free: 7.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.2229, allocations: 83.5 kB / 0.6924 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.223, allocations: 8 kB / 0.6924 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.223, allocations: 0 / 0.6924 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2231, allocations: 23.92 kB / 0.6924 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2232, allocations: 7.938 kB / 0.6924 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.2236, allocations: 71.7 kB / 0.6925 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.2237, allocations: 43.98 kB / 0.6926 GB, free: 7.105 MB / 494.1 MB 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001804/0.2239, allocations: 172.6 kB / 0.6927 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.224, allocations: 27.66 kB / 0.6927 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.224, allocations: 26.3 kB / 0.6928 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.224, allocations: 4 kB / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.224, allocations: 0 / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2241, allocations: 0 / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.2261, allocations: 0.7189 MB / 0.6935 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2261, allocations: 0 / 0.6935 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.2262, allocations: 4 kB / 0.6935 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2262, allocations: 0 / 0.6935 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.2262, allocations: 23.91 kB / 0.6935 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2262, allocations: 4 kB / 0.6935 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2262, allocations: 0 / 0.6935 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.2279, allocations: 474.8 kB / 0.694 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.2281, allocations: 152.7 kB / 0.6941 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.2281, allocations: 16 kB / 0.6941 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.2286, allocations: 43.95 kB / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.2286, allocations: 7.938 kB / 0.6942 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.2287, allocations: 43.97 kB / 0.6942 GB, free: 5.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.2289, allocations: 209.9 kB / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2289, allocations: 0 / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.2292, allocations: 48 kB / 0.6945 GB, free: 5.055 MB / 494.1 MB 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001437/0.2294, allocations: 119.2 kB / 0.6946 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.2305, allocations: 390.5 kB / 0.6949 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2305, allocations: 0 / 0.6949 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.2313, allocations: 130.2 kB / 0.6951 GB, free: 4.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.2316, allocations: 28.56 kB / 0.6951 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.233, allocations: 0.5144 MB / 0.6956 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2333, allocations: 0.7395 MB / 0.6963 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.2333, allocations: 21.06 kB / 0.6963 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.2334, allocations: 15.44 kB / 0.6964 GB, free: 3.035 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2334, allocations: 0 / 0.6964 GB, free: 3.035 MB / 494.1 MB Notification: Performance of Templates: time 0.006552/0.2399, allocations: 3.57 MB / 0.6998 GB, free: 15.5 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)