Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 292.3 MB / 308.1 MB, free: 4.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 198.1 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 100.5 kB / 0.7479 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000958/0.0009581, allocations: 43.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2134, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003428/0.2169, allocations: 1.548 MB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.2179, allocations: 451.3 kB / 0.9841 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.218, allocations: 4 kB / 0.9842 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2181, allocations: 7.922 kB / 0.9842 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2183, allocations: 16.3 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.2191, allocations: 215.6 kB / 0.9844 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.2195, allocations: 287.9 kB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.2195, allocations: 15.98 kB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.2198, allocations: 218.3 kB / 0.9849 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.2201, allocations: 119.6 kB / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.2202, allocations: 8 kB / 0.985 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.2203, allocations: 8 kB / 0.985 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2204, allocations: 79.7 kB / 0.9851 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2205, allocations: 119.3 kB / 0.9852 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.2209, allocations: 283.3 kB / 0.9855 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2209, allocations: 0 / 0.9855 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2209, allocations: 0 / 0.9855 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2209, allocations: 0 / 0.9855 GB, free: 7.035 MB / 0.7136 GB 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.001213/0.2222, allocations: 0.7036 MB / 0.9862 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2222, allocations: 12.03 kB / 0.9862 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.2223, allocations: 27.72 kB / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.2227, allocations: 266.3 kB / 0.9864 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.2227, allocations: 12 kB / 0.9865 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.2228, allocations: 19.98 kB / 0.9865 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.2231, allocations: 157.5 kB / 0.9866 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2231, allocations: 11.88 kB / 0.9866 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.2231, allocations: 0 / 0.9866 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2231, allocations: 0 / 0.9866 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2232, allocations: 47.97 kB / 0.9867 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.2236, allocations: 309.3 kB / 0.987 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.2239, allocations: 126.7 kB / 0.9871 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.224, allocations: 64.83 kB / 0.9872 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.224, allocations: 0 / 0.9872 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.2245, allocations: 215.6 kB / 0.9874 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.2245, allocations: 4 kB / 0.9874 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005453/0.2251, allocations: 275.4 kB / 0.9876 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.2251, allocations: 63.38 kB / 0.9877 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2254, allocations: 290.9 kB / 0.988 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.2254, allocations: 41.7 kB / 0.988 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.2255, allocations: 89.12 kB / 0.9881 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.2256, allocations: 43.45 kB / 0.9881 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.2257, allocations: 109.7 kB / 0.9882 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2259, allocations: 322.8 kB / 0.9886 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2261, allocations: 96.17 kB / 0.9886 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2263, allocations: 142.4 kB / 0.9888 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.2266, allocations: 245.2 kB / 0.989 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2266, allocations: 0 / 0.989 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006316/0.2273, allocations: 423.2 kB / 0.9894 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.2273, allocations: 75.39 kB / 0.9895 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2273, allocations: 0 / 0.9895 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2274, allocations: 7.938 kB / 0.9895 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2275, allocations: 35.91 kB / 0.9895 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2275, allocations: 4 kB / 0.9895 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.228, allocations: 59.8 kB / 0.9896 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.228, allocations: 51.98 kB / 0.9896 GB, free: 2.426 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001536/0.2282, allocations: 176 kB / 0.9898 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.2283, allocations: 27.62 kB / 0.9898 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.2283, allocations: 30.25 kB / 0.9899 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2283, allocations: 7.938 kB / 0.9899 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2283, allocations: 0 / 0.9899 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2284, allocations: 3.938 kB / 0.9899 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/0.2291, allocations: 0.5684 MB / 0.9904 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2291, allocations: 0 / 0.9904 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.2292, allocations: 4 kB / 0.9904 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2292, allocations: 7.938 kB / 0.9904 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2292, allocations: 11.98 kB / 0.9905 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2292, allocations: 3.984 kB / 0.9905 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2292, allocations: 0 / 0.9905 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.2299, allocations: 0.9399 MB / 0.9914 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.2301, allocations: 156.6 kB / 0.9915 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.2302, allocations: 11.98 kB / 0.9915 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.2303, allocations: 11.98 kB / 0.9915 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2304, allocations: 11.98 kB / 0.9916 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.2304, allocations: 31.98 kB / 0.9916 GB, free: 300 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001643/0.2306, allocations: 213.9 kB / 0.9918 GB, free: 80 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2306, allocations: 0 / 0.9918 GB, free: 80 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004005/0.231, allocations: 52 kB / 0.9918 GB, free: 28 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001363/0.2312, allocations: 119 kB / 0.992 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.2316, allocations: 340.1 kB / 0.9923 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2317, allocations: 4 kB / 0.9923 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.2318, allocations: 67.91 kB / 0.9923 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2321, allocations: 27.81 kB / 0.9924 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.2328, allocations: 0.6096 MB / 0.993 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2331, allocations: 0.7399 MB / 0.9937 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.2332, allocations: 41.42 kB / 0.9937 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2334, allocations: 31.42 kB / 0.9938 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.2334, allocations: 0 / 0.9938 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.007059/0.2404, allocations: 4.133 MB / 0.9978 GB, free: 9.848 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)