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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.05 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.001115/0.001116, allocations: 181.8 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 2.012/2.012, allocations: 205.4 MB / 0.5775 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.001067/0.001067, allocations: 90.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003621, allocations: 11.56 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001871/0.2471, allocations: 1.371 MB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000802/0.2479, allocations: 443.9 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.248, allocations: 4 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.248, allocations: 3.938 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2481, allocations: 31.89 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.2488, allocations: 218.6 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.249, allocations: 183.7 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2491, allocations: 25.42 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.2493, allocations: 167.6 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2495, allocations: 131.7 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.2495, allocations: 12 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.2496, allocations: 8 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.2497, allocations: 83.78 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.2497, allocations: 77.52 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.25, allocations: 319.5 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.25, allocations: 0 / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.25, allocations: 0 / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.25, allocations: 0 / 0.9031 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.001001/0.251, allocations: 0.6336 MB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2511, allocations: 12.03 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.2512, allocations: 42.55 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.2512, allocations: 39.58 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.2516, allocations: 271.1 kB / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.2516, allocations: 15.98 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.2517, allocations: 16 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.252, allocations: 178.8 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.252, allocations: 0 / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.252, allocations: 4 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.252, allocations: 4 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2522, allocations: 59.97 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2532, allocations: 0.5627 MB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.2534, allocations: 134.7 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2535, allocations: 3.938 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.2539, allocations: 242.8 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.2539, allocations: 0 / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004916/0.2544, allocations: 277.3 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2544, allocations: 63.39 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.2547, allocations: 312.4 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.2547, allocations: 45.62 kB / 0.906 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.2548, allocations: 101 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.2548, allocations: 43.52 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.2549, allocations: 11.98 kB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.2549, allocations: 318.8 kB / 0.9064 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2551, allocations: 108.2 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.2553, allocations: 154.4 kB / 0.9067 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.2555, allocations: 162.9 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2555, allocations: 0 / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005742/0.2561, allocations: 443.1 kB / 0.9072 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.2562, allocations: 83.38 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2562, allocations: 192 / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2562, allocations: 15.89 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2564, allocations: 23.92 kB / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2564, allocations: 4 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.2569, allocations: 71.73 kB / 0.9074 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.257, allocations: 59.97 kB / 0.9075 GB, free: 55.98 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.0001566/0.2571, allocations: 185.7 kB / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.2572, allocations: 27.62 kB / 0.9077 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.2572, allocations: 34.36 kB / 0.9077 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2572, allocations: 0 / 0.9077 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2572, allocations: 3.953 kB / 0.9077 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2572, allocations: 7.984 kB / 0.9077 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.2579, allocations: 0.5976 MB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2579, allocations: 0 / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.2579, allocations: 11.98 kB / 0.9083 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2579, allocations: 3.953 kB / 0.9083 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.258, allocations: 11.98 kB / 0.9083 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.258, allocations: 4 kB / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.258, allocations: 0 / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.2583, allocations: 323.1 kB / 0.9087 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.2585, allocations: 184.6 kB / 0.9088 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.2585, allocations: 23.89 kB / 0.9089 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2587, allocations: 7.984 kB / 0.9089 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2588, allocations: 27.91 kB / 0.9089 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.2588, allocations: 23.98 kB / 0.9089 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001511/0.259, allocations: 227 kB / 0.9091 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.259, allocations: 0 / 0.9091 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002917/0.2593, allocations: 55.98 kB / 0.9092 GB, free: 54.14 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.0005425/0.2598, allocations: 0.8836 MB / 0.91 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.2603, allocations: 364 kB / 0.9104 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2603, allocations: 384 / 0.9104 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.2604, allocations: 83.91 kB / 0.9105 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2607, allocations: 34.61 kB / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.2617, allocations: 1.647 MB / 0.9121 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.2619, allocations: 0.7672 MB / 0.9129 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001348/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.0001591/0.2622, allocations: 51.41 kB / 0.913 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.2622, allocations: 0 / 0.913 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.2777, allocations: 5.493 MB / 0.9183 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.2779, allocations: 239.5 kB / 0.9185 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.906, allocations: 0 / 0.9185 GB, free: 44.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)