Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.00115/0.00115, allocations: 182.6 kB / 371.8 MB, free: 10.29 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.684/1.684, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008266, allocations: 89.11 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 14.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7503/0.9859, allocations: 140 MB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.9863, allocations: 72.88 kB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01484/1.001, allocations: 5.199 MB / 1.121 GB, free: 31.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.001, allocations: 4.188 kB / 1.121 GB, free: 31.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.502e-05/1.001, allocations: 0 / 1.121 GB, free: 31.86 MB / 0.698 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.001223/1.002, allocations: 0.6535 MB / 1.122 GB, free: 31.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.002, allocations: 7.656 kB / 1.122 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/1.003, allocations: 45.08 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/1.003, allocations: 30.88 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/1.003, allocations: 275.4 kB / 1.122 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/1.003, allocations: 14.27 kB / 1.122 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/1.003, allocations: 21.31 kB / 1.122 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/1.004, allocations: 161.1 kB / 1.123 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.004, allocations: 3 kB / 1.123 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/1.004, allocations: 6.828 kB / 1.123 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.004, allocations: 3.969 kB / 1.123 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/1.004, allocations: 60.08 kB / 1.123 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.005, allocations: 0.5896 MB / 1.123 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/1.005, allocations: 140.5 kB / 1.123 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/1.005, allocations: 0 / 1.123 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/1.006, allocations: 229 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/1.006, allocations: 0 / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005979/1.006, allocations: 282.4 kB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.006, allocations: 58.16 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/1.007, allocations: 283.3 kB / 1.124 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/1.007, allocations: 36.36 kB / 1.124 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/1.007, allocations: 106 kB / 1.124 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/1.007, allocations: 45.86 kB / 1.124 GB, free: 30.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/1.007, allocations: 11.44 kB / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.007, allocations: 332.3 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/1.007, allocations: 122 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/1.008, allocations: 166.2 kB / 1.125 GB, free: 29.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/1.008, allocations: 174.3 kB / 1.125 GB, free: 29.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.008, allocations: 0 / 1.125 GB, free: 29.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000728/1.009, allocations: 454 kB / 1.126 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/1.009, allocations: 77.7 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.009, allocations: 3.812 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.009, allocations: 3.812 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/1.009, allocations: 34.78 kB / 1.126 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/1.009, allocations: 3.875 kB / 1.126 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/1.009, allocations: 48.3 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/1.009, allocations: 53.02 kB / 1.126 GB, free: 29.58 MB / 0.698 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.0002145/1.01, allocations: 192.4 kB / 1.126 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/1.01, allocations: 31.19 kB / 1.126 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/1.01, allocations: 34.09 kB / 1.126 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.01, allocations: 0 / 1.126 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.01, allocations: 0 / 1.126 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.01, allocations: 0 / 1.126 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/1.011, allocations: 0.5982 MB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.011, allocations: 0 / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/1.011, allocations: 10.11 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.011, allocations: 4 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/1.011, allocations: 12.41 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.011, allocations: 0 / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.011, allocations: 0 / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/1.011, allocations: 328.3 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/1.011, allocations: 188.9 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/1.011, allocations: 13.98 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.012, allocations: 11.59 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/1.012, allocations: 24 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/1.012, allocations: 32.53 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001881/1.012, allocations: 224 kB / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/1.012, allocations: 0 / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003315/1.012, allocations: 55.66 kB / 1.127 GB, free: 28.76 MB / 0.698 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.0007375/1.013, allocations: 0.8968 MB / 1.128 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005794/1.014, allocations: 382.1 kB / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.014, allocations: 0 / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/1.014, allocations: 75.33 kB / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/1.014, allocations: 35.34 kB / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/1.015, allocations: 1.654 MB / 1.13 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/1.016, allocations: 0.7604 MB / 1.131 GB, free: 25.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001455/1.016, allocations: 42.41 kB / 1.131 GB, free: 25.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/1.016, allocations: 50.53 kB / 1.131 GB, free: 25.76 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1.016, allocations: 3.938 kB / 1.131 GB, free: 25.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/1.035, allocations: 5.965 MB / 1.137 GB, free: 23.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.035, allocations: 224.8 kB / 1.137 GB, free: 23.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.688, allocations: 0 / 1.137 GB, free: 23.23 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)