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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.418/1.418, allocations: 252 MB / 267 MB, free: 10.96 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.001005/0.001005, allocations: 174.2 kB / 326.6 MB, free: 2.219 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.659/1.659, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007604/0.0007603, allocations: 93.36 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003498, allocations: 12.72 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2321, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001717/0.2338, allocations: 1.379 MB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008041/0.2346, allocations: 451.1 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.2347, allocations: 4 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/0.2348, allocations: 11.86 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2349, allocations: 23.84 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.2355, allocations: 220.6 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.2358, allocations: 303.5 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.2359, allocations: 25.42 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.2361, allocations: 235.5 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.2363, allocations: 139.7 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.2364, allocations: 8 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.2365, allocations: 12 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.2365, allocations: 79.77 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.646e-05/0.2366, allocations: 77.52 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2368, allocations: 319.5 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2369, allocations: 0 / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2369, allocations: 0 / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2369, allocations: 0 / 0.9035 GB, free: 60.5 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.000974/0.2379, allocations: 0.64 MB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2379, allocations: 12.03 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.238, allocations: 38.55 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.238, allocations: 39.58 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2383, allocations: 275 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.2384, allocations: 12 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.2384, allocations: 27.98 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.2387, allocations: 169.4 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2388, allocations: 0 / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.2388, allocations: 11.98 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2388, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2389, allocations: 55.97 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.24, allocations: 0.5628 MB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.2403, allocations: 134.7 kB / 0.9054 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2404, allocations: 60.83 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.2404, allocations: 11.92 kB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.2409, allocations: 228.5 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2409, allocations: 0 / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005078/0.2414, allocations: 283.6 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2415, allocations: 67.39 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2417, allocations: 312.4 kB / 0.9063 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.2418, allocations: 41.7 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.2418, allocations: 105 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.2419, allocations: 43.5 kB / 0.9065 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.2419, allocations: 8 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.242, allocations: 318.8 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.2422, allocations: 108.2 kB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2424, allocations: 162.4 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.2427, allocations: 160.1 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2427, allocations: 8 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005996/0.2433, allocations: 435.2 kB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.2433, allocations: 75.39 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2434, allocations: 0 / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2434, allocations: 7.953 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2435, allocations: 27.91 kB / 0.9078 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.2436, allocations: 4 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.2441, allocations: 71.98 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.2442, allocations: 55.98 kB / 0.9079 GB, free: 55.68 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.0001706/0.2444, allocations: 185.7 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.2444, allocations: 27.62 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.2445, allocations: 38.3 kB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2445, allocations: 7.953 kB / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2445, allocations: 0 / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2445, allocations: 0 / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.2451, allocations: 0.5957 MB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2451, allocations: 4 kB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.2452, allocations: 11.98 kB / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2452, allocations: 11.89 kB / 0.9088 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2452, allocations: 11.98 kB / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2452, allocations: 0 / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2452, allocations: 0 / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.2456, allocations: 329.3 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.2457, allocations: 184.6 kB / 0.9093 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.2458, allocations: 23.94 kB / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.246, allocations: 15.98 kB / 0.9093 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.2461, allocations: 15.98 kB / 0.9093 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.2461, allocations: 31.97 kB / 0.9093 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001552/0.2463, allocations: 227 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2463, allocations: 0 / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002773/0.2466, allocations: 48 kB / 0.9096 GB, free: 53.83 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.0005805/0.2471, allocations: 0.8778 MB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.2476, allocations: 364.6 kB / 0.9108 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2477, allocations: 0 / 0.9108 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2478, allocations: 79.91 kB / 0.9109 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.2482, allocations: 37.38 kB / 0.9109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.2499, allocations: 1.312 MB / 0.9122 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.2501, allocations: 0.7663 MB / 0.913 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.2503, allocations: 41.42 kB / 0.913 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2504, allocations: 51.41 kB / 0.913 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2504, allocations: 0 / 0.913 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.266, allocations: 5.539 MB / 0.9185 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.2662, allocations: 229.7 kB / 0.9187 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.103, allocations: 4.062 kB / 0.9187 GB, free: 44.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)