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/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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.000879/0.0008791, allocations: 91.84 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.00543/0.00543, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.296/1.296, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.651/1.651, 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.0007309/0.000731, allocations: 11.44 kB / 0.6744 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2181, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001352/0.2195, allocations: 1.217 MB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000814/0.2203, allocations: 440.5 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.2204, allocations: 0 / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.814e-05/0.2204, allocations: 7.922 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.2205, allocations: 24.22 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.2211, allocations: 234.7 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.2214, allocations: 303.9 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.2214, allocations: 4 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.2217, allocations: 214.3 kB / 0.7903 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.2219, allocations: 131.5 kB / 0.7905 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.2219, allocations: 8 kB / 0.7905 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.222, allocations: 12 kB / 0.7905 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.2221, allocations: 75.78 kB / 0.7906 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.2222, allocations: 149 kB / 0.7907 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2225, allocations: 291.2 kB / 0.791 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2225, allocations: 0 / 0.791 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2225, allocations: 0 / 0.791 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2225, allocations: 0 / 0.791 GB, free: 8.426 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.0008029/0.2233, allocations: 0.6565 MB / 0.7916 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2234, allocations: 12.03 kB / 0.7916 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.2234, allocations: 34.56 kB / 0.7917 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.2235, allocations: 31.72 kB / 0.7917 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.2238, allocations: 266.2 kB / 0.792 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.2238, allocations: 15.98 kB / 0.792 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.2239, allocations: 20 kB / 0.792 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.2248, allocations: 213.3 kB / 0.7922 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2248, allocations: 8 kB / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2248, allocations: 3.984 kB / 0.7922 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2248, allocations: 0 / 0.7922 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.2256, allocations: 107.9 kB / 0.7923 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.226, allocations: 321.3 kB / 0.7926 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.227, allocations: 182.5 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.2277, allocations: 116.8 kB / 0.7929 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2278, allocations: 11.94 kB / 0.7929 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/0.2287, allocations: 227.1 kB / 0.7931 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2287, allocations: 0 / 0.7931 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002404/0.2311, allocations: 483.9 kB / 0.7936 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.2312, allocations: 67.39 kB / 0.7937 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.2315, allocations: 287 kB / 0.7939 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.2316, allocations: 37.7 kB / 0.794 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2317, allocations: 93.12 kB / 0.794 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.2318, allocations: 39.39 kB / 0.7941 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.2319, allocations: 37.7 kB / 0.7941 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.232, allocations: 330.7 kB / 0.7944 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2322, allocations: 79.95 kB / 0.7945 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2325, allocations: 152.8 kB / 0.7947 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.2328, allocations: 235.8 kB / 0.7949 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.2329, allocations: 0 / 0.7949 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007061/0.2336, allocations: 396.6 kB / 0.7953 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/0.2337, allocations: 67.39 kB / 0.7953 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2337, allocations: 4 kB / 0.7953 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.2337, allocations: 8.188 kB / 0.7953 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2339, allocations: 23.92 kB / 0.7954 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2339, allocations: 7.984 kB / 0.7954 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.2344, allocations: 59.81 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.2345, allocations: 43.98 kB / 0.7955 GB, free: 3.48 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.0002317/0.2347, allocations: 172 kB / 0.7956 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.2348, allocations: 27.66 kB / 0.7957 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.2348, allocations: 34.3 kB / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2348, allocations: 0 / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2349, allocations: 0 / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2349, allocations: 0 / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.237, allocations: 0.7167 MB / 0.7964 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.237, allocations: 3.938 kB / 0.7964 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.237, allocations: 4 kB / 0.7964 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.237, allocations: 4 kB / 0.7964 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.237, allocations: 15.97 kB / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2371, allocations: 0 / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2371, allocations: 0 / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.2388, allocations: 474.8 kB / 0.7969 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.239, allocations: 156.7 kB / 0.797 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.2391, allocations: 12 kB / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.2396, allocations: 43.89 kB / 0.7971 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.2396, allocations: 11.98 kB / 0.7971 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.2396, allocations: 35.98 kB / 0.7971 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002016/0.2399, allocations: 217.9 kB / 0.7973 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2399, allocations: 0 / 0.7973 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000314/0.2402, allocations: 44 kB / 0.7974 GB, free: 1.434 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.001981/0.2422, allocations: 1.022 MB / 0.7984 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2434, allocations: 386.6 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2434, allocations: 0 / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.2441, allocations: 123.8 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2445, allocations: 32.94 kB / 0.7989 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.248, allocations: 2.444 MB / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.2483, allocations: 0.7438 MB / 0.802 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.374e-05/0.2484, allocations: 17.06 kB / 0.802 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.2485, allocations: 23.42 kB / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.2485, allocations: 0 / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2661, allocations: 4.541 MB / 0.8065 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.2664, allocations: 208.9 kB / 0.8067 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.009, allocations: 3.938 kB / 0.8067 GB, free: 7.801 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)