Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 189.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 96.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 12.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002178/0.2483, allocations: 1.187 MB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2494, allocations: 391.9 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.2495, allocations: 3.938 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.231e-05/0.2496, allocations: 3.984 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2497, allocations: 23.92 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.2505, allocations: 211.9 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2507, allocations: 151.7 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.2508, allocations: 12 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.251, allocations: 163.6 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2511, allocations: 123.7 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.2512, allocations: 12 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.261e-05/0.2512, allocations: 8 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.2513, allocations: 79.78 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.2514, allocations: 65.58 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2516, allocations: 203.8 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2516, allocations: 0 / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2516, allocations: 0 / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2516, allocations: 0 / 0.9027 GB, free: 61.23 MB / 0.6042 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.0009868/0.2526, allocations: 0.6143 MB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.2527, allocations: 12.03 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.2527, allocations: 30.56 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.2528, allocations: 43.56 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.2532, allocations: 246.6 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.2532, allocations: 15.98 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.2532, allocations: 12 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.2535, allocations: 153.5 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2535, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2536, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2536, allocations: 4 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.2537, allocations: 43.97 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.254, allocations: 317.3 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.2543, allocations: 134.8 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2543, allocations: 8 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.2547, allocations: 210.8 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.2548, allocations: 4 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004847/0.2552, allocations: 273 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.2553, allocations: 63.33 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.2555, allocations: 287 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2555, allocations: 37.7 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.2556, allocations: 85.14 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.2557, allocations: 59.36 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.2557, allocations: 4 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.889e-05/0.2558, allocations: 330.8 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.256, allocations: 96.17 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2561, allocations: 138.4 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.2563, allocations: 164 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2563, allocations: 0 / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005493/0.2569, allocations: 407.1 kB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.257, allocations: 75.38 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.257, allocations: 0 / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.257, allocations: 7.984 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2572, allocations: 27.92 kB / 0.9064 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2572, allocations: 4.188 kB / 0.9064 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.2577, allocations: 75.78 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.2578, allocations: 55.98 kB / 0.9066 GB, free: 56.95 MB / 0.6042 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.2579, allocations: 172 kB / 0.9067 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.258, allocations: 31.66 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.258, allocations: 30.25 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.258, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.258, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2581, allocations: 3.984 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.2587, allocations: 0.5631 MB / 0.9073 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2587, allocations: 0 / 0.9073 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.2588, allocations: 8 kB / 0.9073 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2588, allocations: 4 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.2588, allocations: 15.97 kB / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2588, allocations: 0 / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2588, allocations: 0 / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2592, allocations: 323 kB / 0.9077 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2593, allocations: 152.6 kB / 0.9078 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.2594, allocations: 12 kB / 0.9078 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2596, allocations: 15.98 kB / 0.9078 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.2596, allocations: 19.97 kB / 0.9079 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.2597, allocations: 27.98 kB / 0.9079 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001441/0.2598, allocations: 209.9 kB / 0.9081 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2598, allocations: 0 / 0.9081 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000302/0.2601, allocations: 44 kB / 0.9081 GB, free: 55.24 MB / 0.6042 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 (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.0005389/0.2607, allocations: 0.8776 MB / 0.909 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004461/0.2611, allocations: 342.8 kB / 0.9093 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2612, allocations: 3.938 kB / 0.9093 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2613, allocations: 71.88 kB / 0.9094 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2616, allocations: 28.38 kB / 0.9094 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.2625, allocations: 1.605 MB / 0.911 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.2627, allocations: 0.7514 MB / 0.9117 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.2629, allocations: 41.42 kB / 0.9118 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.263, allocations: 39.42 kB / 0.9118 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.263, allocations: 0 / 0.9118 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.2796, allocations: 4.964 MB / 0.9166 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.2798, allocations: 208.5 kB / 0.9168 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.905, allocations: 4 kB / 0.9168 GB, free: 46.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)