Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001625, allocations: 176.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 79.45 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.839e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6913, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.8868, allocations: 141.1 MB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.887, allocations: 74.8 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.9033, allocations: 5.277 MB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9034, allocations: 0 / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.9035, allocations: 4 kB / 1.116 GB, free: 3.691 MB / 0.7136 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.001038/0.9045, allocations: 0.6449 MB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.9046, allocations: 12.03 kB / 1.117 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.9047, allocations: 45.3 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.9052, allocations: 276 kB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.9052, allocations: 8 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.9053, allocations: 19.98 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/0.9055, allocations: 59.98 kB / 1.117 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.9058, allocations: 157.5 kB / 1.118 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9058, allocations: 0 / 1.118 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.9058, allocations: 18.19 kB / 1.118 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.9059, allocations: 4 kB / 1.118 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.9071, allocations: 0.5557 MB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.9074, allocations: 106.5 kB / 1.118 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.9075, allocations: 64.78 kB / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.9076, allocations: 4 kB / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.9078, allocations: 159.3 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.9079, allocations: 0 / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005761/0.9084, allocations: 258.7 kB / 1.119 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.9085, allocations: 63.41 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.9088, allocations: 269.1 kB / 1.119 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.9089, allocations: 33.7 kB / 1.119 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.909, allocations: 101.3 kB / 1.119 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.909, allocations: 31.61 kB / 1.119 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.9091, allocations: 4 kB / 1.119 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9092, allocations: 322.8 kB / 1.119 GB, free: 292 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.9094, allocations: 99.91 kB / 1.12 GB, free: 192 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.9097, allocations: 142 kB / 1.12 GB, free: 28 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.9099, allocations: 81.97 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9099, allocations: 4 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000592/0.9105, allocations: 317.2 kB / 1.12 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.9106, allocations: 79.38 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9106, allocations: 4 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.9106, allocations: 7.891 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.9108, allocations: 29.98 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.9108, allocations: 8.484 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.9112, allocations: 44 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/0.9113, allocations: 43.97 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001707/0.9115, allocations: 124 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003895/0.9118, allocations: 241.3 kB / 1.121 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.9119, allocations: 35.58 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.912, allocations: 26.14 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.912, allocations: 8 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.912, allocations: 0 / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.912, allocations: 0 / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007907/0.9128, allocations: 0.6012 MB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9128, allocations: 3.953 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.9129, allocations: 4 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9129, allocations: 3.938 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.9129, allocations: 15.97 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9129, allocations: 0 / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9129, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.9134, allocations: 354.4 kB / 1.122 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.9136, allocations: 188.6 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.9137, allocations: 16 kB / 1.122 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.9141, allocations: 35.97 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.9141, allocations: 14.89 kB / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.9142, allocations: 39.97 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002267/0.9144, allocations: 216.6 kB / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9144, allocations: 0 / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003693/0.9148, allocations: 47.98 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.000873/0.9157, allocations: 0.916 MB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.9162, allocations: 348.3 kB / 1.123 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9162, allocations: 0 / 1.123 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.9164, allocations: 67.92 kB / 1.124 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.9167, allocations: 25.75 kB / 1.124 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.9175, allocations: 369.2 kB / 1.124 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.9179, allocations: 0.7591 MB / 1.125 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.199e-05/0.9179, allocations: 17.2 kB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.918, allocations: 29.67 kB / 1.125 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.918, allocations: 0 / 1.125 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.9438, allocations: 5.017 MB / 1.13 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/0.9441, allocations: 182.4 kB / 1.13 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.546, allocations: 0 / 1.13 GB, free: 5.621 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)