Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.725/2.725, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001608/0.001608, allocations: 177.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.00115/0.00115, allocations: 93.83 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.000636, allocations: 13.22 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2155, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.124, allocations: 139.9 MB / 1.115 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.124, allocations: 74.22 kB / 1.115 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02376/1.148, allocations: 5.201 MB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.454e-06/1.148, allocations: 224 / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.271e-05/1.148, allocations: 3.875 kB / 1.12 GB, free: 31.2 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.001433/1.15, allocations: 0.6456 MB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.15, allocations: 7.719 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/1.15, allocations: 41.45 kB / 1.121 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/1.15, allocations: 38.2 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/1.15, allocations: 281.4 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/1.15, allocations: 11.66 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.151, allocations: 18.3 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/1.151, allocations: 166.7 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.151, allocations: 3.953 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/1.151, allocations: 3.938 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.151, allocations: 7.797 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/1.151, allocations: 58.42 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/1.153, allocations: 0.5867 MB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/1.154, allocations: 139 kB / 1.122 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/1.154, allocations: 7.781 kB / 1.122 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/1.154, allocations: 221.3 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.927e-06/1.154, allocations: 4 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.00139/1.156, allocations: 280.2 kB / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/1.156, allocations: 62.09 kB / 1.123 GB, free: 29.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/1.157, allocations: 285 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/1.157, allocations: 36.73 kB / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/1.157, allocations: 98.83 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.157, allocations: 53.3 kB / 1.123 GB, free: 29.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/1.157, allocations: 7.031 kB / 1.123 GB, free: 29.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.158, allocations: 327.8 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/1.158, allocations: 126.8 kB / 1.123 GB, free: 29.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/1.159, allocations: 163 kB / 1.124 GB, free: 29.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/1.16, allocations: 173.9 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.16, allocations: 0 / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00189/1.162, allocations: 452.8 kB / 1.124 GB, free: 29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.162, allocations: 72.47 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.162, allocations: 3.844 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.162, allocations: 3.094 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/1.162, allocations: 29.36 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.162, allocations: 3.703 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/1.163, allocations: 48.55 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.163, allocations: 59.31 kB / 1.124 GB, free: 28.93 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.0003698/1.164, allocations: 189.8 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/1.164, allocations: 35.09 kB / 1.125 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/1.164, allocations: 33.64 kB / 1.125 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.164, allocations: 3.844 kB / 1.125 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.164, allocations: 0 / 1.125 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.164, allocations: 0 / 1.125 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.165, allocations: 0.5983 MB / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.165, allocations: 0 / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/1.165, allocations: 13.95 kB / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/1.165, allocations: 0 / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.165, allocations: 13.73 kB / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.165, allocations: 4 kB / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.165, allocations: 0 / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/1.166, allocations: 330.3 kB / 1.126 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/1.166, allocations: 189.3 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/1.166, allocations: 13.73 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.166, allocations: 10.64 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/1.167, allocations: 20.56 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/1.167, allocations: 32.48 kB / 1.126 GB, free: 28.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003097/1.167, allocations: 233.2 kB / 1.126 GB, free: 28.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.167, allocations: 0 / 1.126 GB, free: 28.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005772/1.168, allocations: 50.03 kB / 1.126 GB, free: 28.09 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.001069/1.169, allocations: 0.8889 MB / 1.127 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.17, allocations: 384.9 kB / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.17, allocations: 0 / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/1.17, allocations: 78.41 kB / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/1.17, allocations: 26.05 kB / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/1.172, allocations: 1.651 MB / 1.129 GB, free: 25.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.173, allocations: 0.7566 MB / 1.13 GB, free: 25.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000261/1.173, allocations: 47.97 kB / 1.13 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/1.173, allocations: 50.56 kB / 1.13 GB, free: 25.1 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.173, allocations: 3.938 kB / 1.13 GB, free: 25.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/1.21, allocations: 5.959 MB / 1.136 GB, free: 23.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.21, allocations: 208.6 kB / 1.136 GB, free: 23.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.745, allocations: 2.188 kB / 1.136 GB, free: 23.41 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)