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.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001124/0.001124, allocations: 180.6 kB / 326.5 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.918/1.918, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008599/0.0008601, allocations: 89.56 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 11.47 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2446, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.00178/0.2465, allocations: 1.371 MB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.2473, allocations: 450.1 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.2473, allocations: 0 / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.2474, allocations: 7.922 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2475, allocations: 27.91 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.2481, allocations: 210.5 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.2483, allocations: 183.7 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2484, allocations: 29.42 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.2486, allocations: 171.6 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2488, allocations: 127.7 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.2488, allocations: 12 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.2489, allocations: 12 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.249, allocations: 79.72 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.2491, allocations: 77.58 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.2493, allocations: 319.5 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2493, allocations: 0 / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2493, allocations: 0 / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2493, allocations: 0 / 0.9032 GB, free: 60.75 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.001049/0.2504, allocations: 0.6414 MB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.2504, allocations: 8.031 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.2505, allocations: 42.55 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.2506, allocations: 39.58 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2509, allocations: 267.1 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.251, allocations: 15.98 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.251, allocations: 20 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.2513, allocations: 175.3 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2514, allocations: 0 / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2514, allocations: 8 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2514, allocations: 4 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.2515, allocations: 55.97 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2526, allocations: 0.5588 MB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.2528, allocations: 142.7 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2529, allocations: 3.938 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.2533, allocations: 230.4 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2533, allocations: 0 / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005115/0.2538, allocations: 281.3 kB / 0.9056 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2539, allocations: 67.39 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.2541, allocations: 312.4 kB / 0.9059 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.2542, allocations: 41.7 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.2543, allocations: 105 kB / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.2543, allocations: 39.5 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.2544, allocations: 12 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.2544, allocations: 322.8 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2546, allocations: 104.2 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2549, allocations: 150.4 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2551, allocations: 172.1 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2551, allocations: 0 / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005806/0.2557, allocations: 434.3 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.2557, allocations: 79.56 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2557, allocations: 8 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2558, allocations: 11.89 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2559, allocations: 27.92 kB / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2559, allocations: 0 / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.2564, allocations: 83.72 kB / 0.9074 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.2565, allocations: 51.97 kB / 0.9075 GB, free: 56 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.0001819/0.2567, allocations: 185.8 kB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.2567, allocations: 31.61 kB / 0.9077 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.2568, allocations: 30.36 kB / 0.9077 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2568, allocations: 0 / 0.9077 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2568, allocations: 3.953 kB / 0.9077 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2568, allocations: 0 / 0.9077 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.2575, allocations: 0.606 MB / 0.9083 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2575, allocations: 0 / 0.9083 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.2576, allocations: 11.98 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2576, allocations: 7.953 kB / 0.9083 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.2576, allocations: 11.98 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2576, allocations: 4 kB / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2576, allocations: 0 / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.258, allocations: 327.1 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.2581, allocations: 180.6 kB / 0.9088 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.2582, allocations: 15.89 kB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2584, allocations: 15.98 kB / 0.9089 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2585, allocations: 19.91 kB / 0.9089 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.2585, allocations: 31.98 kB / 0.9089 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001623/0.2587, allocations: 223 kB / 0.9091 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2587, allocations: 0 / 0.9091 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002888/0.259, allocations: 59.98 kB / 0.9092 GB, free: 54.15 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.0005927/0.2596, allocations: 0.8838 MB / 0.9101 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.2601, allocations: 363 kB / 0.9104 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2601, allocations: 4.062 kB / 0.9104 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.2602, allocations: 72.53 kB / 0.9105 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2605, allocations: 38.59 kB / 0.9105 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2616, allocations: 1.654 MB / 0.9121 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2619, allocations: 0.7633 MB / 0.9129 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.262, allocations: 37.42 kB / 0.9129 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2622, allocations: 51.41 kB / 0.913 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2622, allocations: 4 kB / 0.913 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2796, allocations: 5.485 MB / 0.9183 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.2798, allocations: 225 kB / 0.9185 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2, allocations: 6.75 kB / 0.9185 GB, free: 44.65 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)