Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_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.406/1.407, allocations: 252 MB / 267 MB, free: 10.99 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.001111/0.001111, allocations: 182.8 kB / 326.6 MB, free: 2.234 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.789/1.789, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008243/0.0008244, allocations: 96 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 14.06 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002439/0.2484, allocations: 1.379 MB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2497, allocations: 455.1 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.2498, allocations: 7.938 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.25, allocations: 11.86 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2501, allocations: 23.91 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2512, allocations: 220.3 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.2516, allocations: 307.5 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2517, allocations: 21.44 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.2522, allocations: 235.5 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.2525, allocations: 139.7 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.2526, allocations: 8 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.2527, allocations: 8 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2528, allocations: 87.72 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.253, allocations: 85.5 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2533, allocations: 311.5 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2534, allocations: 0 / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2534, allocations: 0 / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2534, allocations: 0 / 0.9035 GB, free: 60.52 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001466/0.2549, allocations: 0.6375 MB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.2549, allocations: 12.03 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.255, allocations: 38.56 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2552, allocations: 43.56 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.2556, allocations: 271.1 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.2557, allocations: 11.94 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.2558, allocations: 23.98 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.2563, allocations: 167.9 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2563, allocations: 3.984 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.2564, allocations: 7.984 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2564, allocations: 4 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.2566, allocations: 63.97 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.2582, allocations: 0.5549 MB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.2586, allocations: 134.7 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2588, allocations: 64.83 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2588, allocations: 7.938 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.2594, allocations: 228.5 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.465e-06/0.2594, allocations: 0 / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007879/0.2602, allocations: 287.8 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2603, allocations: 63.39 kB / 0.906 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.2607, allocations: 312.4 kB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.2608, allocations: 41.7 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.2609, allocations: 109 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2609, allocations: 39.52 kB / 0.9065 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.261, allocations: 8 kB / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.2611, allocations: 326.8 kB / 0.9068 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.2614, allocations: 104.2 kB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.2618, allocations: 154.4 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.2622, allocations: 173.9 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2622, allocations: 0 / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009678/0.2632, allocations: 430.4 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-05/0.2633, allocations: 79.56 kB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2633, allocations: 8 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2633, allocations: 3.953 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2636, allocations: 31.92 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2636, allocations: 7.922 kB / 0.9078 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.2643, allocations: 75.8 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.2644, allocations: 47.98 kB / 0.9079 GB, free: 55.7 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002602/0.2647, allocations: 193.7 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.2647, allocations: 31.61 kB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.2648, allocations: 30.36 kB / 0.9082 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2648, allocations: 3.953 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2648, allocations: 0 / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2649, allocations: 4 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.2657, allocations: 0.6035 MB / 0.9088 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2658, allocations: 0 / 0.9088 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.2658, allocations: 7.984 kB / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2658, allocations: 7.953 kB / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.2659, allocations: 11.98 kB / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2659, allocations: 0 / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2659, allocations: 0 / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.2664, allocations: 337.3 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2666, allocations: 180.6 kB / 0.9093 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.2666, allocations: 11.95 kB / 0.9093 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2669, allocations: 15.98 kB / 0.9093 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.267, allocations: 15.97 kB / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.2671, allocations: 31.98 kB / 0.9093 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000252/0.2673, allocations: 223 kB / 0.9096 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2673, allocations: 0 / 0.9096 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003867/0.2677, allocations: 59.98 kB / 0.9096 GB, free: 53.85 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0006066/0.2683, allocations: 0.8778 MB / 0.9105 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.2689, allocations: 363.9 kB / 0.9108 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2689, allocations: 4.125 kB / 0.9108 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.269, allocations: 77.88 kB / 0.9109 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.2694, allocations: 45.03 kB / 0.9109 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.2714, allocations: 1.304 MB / 0.9122 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2716, allocations: 0.7555 MB / 0.913 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.2717, allocations: 41.41 kB / 0.913 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2719, allocations: 59.41 kB / 0.9131 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2719, allocations: 0 / 0.9131 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.2879, allocations: 5.53 MB / 0.9185 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.2881, allocations: 228 kB / 0.9187 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.995, allocations: 2.75 kB / 0.9187 GB, free: 44.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)