Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001056/0.001056, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006797/0.006798, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.633/1.633, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000529/0.000529, allocations: 14.47 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001591/0.2252, allocations: 1.217 MB / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2263, allocations: 440.5 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2263, allocations: 3.938 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.063e-05/0.2264, allocations: 3.984 kB / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2266, allocations: 24.22 kB / 0.7896 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.2272, allocations: 239.3 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.2275, allocations: 295.9 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.2276, allocations: 7.984 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2279, allocations: 218.3 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.2281, allocations: 127.6 kB / 0.7905 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.2282, allocations: 12 kB / 0.7905 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.2283, allocations: 8 kB / 0.7905 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2284, allocations: 79.72 kB / 0.7906 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2285, allocations: 153 kB / 0.7907 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.2288, allocations: 283.3 kB / 0.791 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2289, allocations: 8 kB / 0.791 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2289, allocations: 0 / 0.791 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2289, allocations: 0 / 0.791 GB, free: 8.434 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008705/0.2298, allocations: 0.6526 MB / 0.7916 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2298, allocations: 8.031 kB / 0.7916 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.2299, allocations: 38.56 kB / 0.7917 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.2299, allocations: 31.72 kB / 0.7917 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.2302, allocations: 258.2 kB / 0.7919 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.2303, allocations: 27.92 kB / 0.792 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.2303, allocations: 16 kB / 0.792 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.2313, allocations: 213.4 kB / 0.7922 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2313, allocations: 4 kB / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.2314, allocations: 3.984 kB / 0.7922 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2314, allocations: 4 kB / 0.7922 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007599/0.2321, allocations: 103.9 kB / 0.7923 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2326, allocations: 321.3 kB / 0.7926 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2336, allocations: 186.4 kB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.2344, allocations: 116.8 kB / 0.7929 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2344, allocations: 4 kB / 0.7929 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009469/0.2354, allocations: 233.8 kB / 0.7931 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.2354, allocations: 4 kB / 0.7931 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002381/0.2378, allocations: 473 kB / 0.7936 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2378, allocations: 71.33 kB / 0.7936 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.2381, allocations: 291 kB / 0.7939 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.2382, allocations: 33.7 kB / 0.794 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.2383, allocations: 93.12 kB / 0.794 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.2384, allocations: 47.38 kB / 0.7941 GB, free: 5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.2384, allocations: 37.7 kB / 0.7941 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2386, allocations: 322.8 kB / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2388, allocations: 75.95 kB / 0.7945 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.2391, allocations: 141.2 kB / 0.7946 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.2394, allocations: 243.8 kB / 0.7949 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2394, allocations: 0 / 0.7949 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006666/0.2401, allocations: 392.6 kB / 0.7952 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.2402, allocations: 71.39 kB / 0.7953 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2402, allocations: 4 kB / 0.7953 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2402, allocations: 4.188 kB / 0.7953 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2404, allocations: 27.92 kB / 0.7954 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2404, allocations: 4 kB / 0.7954 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.2408, allocations: 67.73 kB / 0.7954 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.2409, allocations: 35.98 kB / 0.7955 GB, free: 3.508 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.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.0001913/0.2411, allocations: 180 kB / 0.7956 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2412, allocations: 27.66 kB / 0.7957 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.2412, allocations: 26.3 kB / 0.7957 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2412, allocations: 4 kB / 0.7957 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2412, allocations: 0 / 0.7957 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2412, allocations: 0 / 0.7957 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.2433, allocations: 0.7245 MB / 0.7964 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2433, allocations: 4 kB / 0.7964 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.2433, allocations: 4 kB / 0.7964 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2433, allocations: 0 / 0.7964 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2434, allocations: 15.97 kB / 0.7964 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2434, allocations: 4 kB / 0.7964 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2434, allocations: 0 / 0.7964 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.245, allocations: 478.2 kB / 0.7969 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.2452, allocations: 160.6 kB / 0.797 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.2453, allocations: 8 kB / 0.797 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.2457, allocations: 43.95 kB / 0.7971 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.2457, allocations: 11.98 kB / 0.7971 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.2458, allocations: 35.98 kB / 0.7971 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001679/0.246, allocations: 209.9 kB / 0.7973 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.246, allocations: 0 / 0.7973 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003056/0.2463, allocations: 52 kB / 0.7974 GB, free: 1.449 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.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.001922/0.2482, allocations: 1.015 MB / 0.7984 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.2493, allocations: 386.6 kB / 0.7987 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2493, allocations: 0 / 0.7987 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.2501, allocations: 127 kB / 0.7989 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2504, allocations: 27.98 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.2537, allocations: 2.454 MB / 0.8013 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.254, allocations: 0.7399 MB / 0.802 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.2541, allocations: 13.08 kB / 0.802 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.2541, allocations: 27.42 kB / 0.802 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2541, allocations: 0 / 0.802 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.2705, allocations: 4.535 MB / 0.8065 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.2707, allocations: 207 kB / 0.8067 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.029, allocations: 0 / 0.8067 GB, free: 7.816 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)