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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001183/0.001183, allocations: 197.4 kB / 371.8 MB, free: 10.11 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.875/1.875, allocations: 205.4 MB / 0.6305 GB, free: 9.961 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.00106/0.00106, allocations: 82.88 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 12.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7677/1.003, allocations: 140.1 MB / 1.116 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.003, allocations: 72.8 kB / 1.116 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01492/1.018, allocations: 5.202 MB / 1.121 GB, free: 31.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/1.018, allocations: 3.906 kB / 1.121 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.372e-05/1.018, allocations: 3.875 kB / 1.121 GB, free: 31.94 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.001325/1.019, allocations: 0.65 MB / 1.122 GB, free: 31.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.02, allocations: 11.81 kB / 1.122 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.623e-05/1.02, allocations: 40.58 kB / 1.122 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/1.02, allocations: 30.94 kB / 1.122 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/1.02, allocations: 278.1 kB / 1.122 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.02, allocations: 10.88 kB / 1.122 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/1.02, allocations: 20.81 kB / 1.122 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/1.021, allocations: 165.5 kB / 1.123 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.021, allocations: 0 / 1.123 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/1.021, allocations: 7.516 kB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/1.021, allocations: 3.906 kB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/1.021, allocations: 66.25 kB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.022, allocations: 0.5876 MB / 1.123 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/1.023, allocations: 137.5 kB / 1.123 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/1.023, allocations: 5.797 kB / 1.123 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004298/1.023, allocations: 222.8 kB / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.774e-06/1.023, allocations: 0 / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006117/1.024, allocations: 280.3 kB / 1.124 GB, free: 30.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.024, allocations: 69.56 kB / 1.124 GB, free: 30.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/1.024, allocations: 277.1 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/1.024, allocations: 43.36 kB / 1.124 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/1.024, allocations: 99.52 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/1.024, allocations: 47.11 kB / 1.124 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/1.024, allocations: 10.75 kB / 1.124 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.025, allocations: 330 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/1.025, allocations: 119.3 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/1.025, allocations: 170.4 kB / 1.125 GB, free: 29.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/1.026, allocations: 172.7 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.026, allocations: 0 / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008266/1.026, allocations: 458.1 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.548e-05/1.026, allocations: 75.2 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.026, allocations: 0 / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.027, allocations: 4.031 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.027, allocations: 36.25 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.027, allocations: 2.812 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/1.027, allocations: 43.36 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/1.027, allocations: 55.48 kB / 1.126 GB, free: 29.67 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.0002672/1.027, allocations: 194 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/1.028, allocations: 31.09 kB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/1.028, allocations: 27.72 kB / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.028, allocations: 3.531 kB / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.028, allocations: 3 kB / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.028, allocations: 0 / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/1.028, allocations: 0.5953 MB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.028, allocations: 0 / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/1.029, allocations: 15.03 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/1.029, allocations: 0 / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/1.029, allocations: 15.34 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.029, allocations: 0 / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.029, allocations: 0 / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.029, allocations: 331.7 kB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/1.029, allocations: 192.4 kB / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/1.029, allocations: 14.12 kB / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/1.03, allocations: 14.34 kB / 1.127 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/1.03, allocations: 16.72 kB / 1.127 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/1.03, allocations: 28.47 kB / 1.127 GB, free: 28.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001997/1.03, allocations: 228.1 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.03, allocations: 0 / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003743/1.03, allocations: 54 kB / 1.128 GB, free: 28.84 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.0007667/1.031, allocations: 0.8954 MB / 1.128 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006051/1.032, allocations: 385.9 kB / 1.129 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.032, allocations: 0 / 1.129 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/1.032, allocations: 75.02 kB / 1.129 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/1.032, allocations: 33.36 kB / 1.129 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.034, allocations: 1.655 MB / 1.13 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.034, allocations: 0.7607 MB / 1.131 GB, free: 25.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001434/1.034, allocations: 39.69 kB / 1.131 GB, free: 25.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.034, allocations: 51.95 kB / 1.131 GB, free: 25.84 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.034, allocations: 4 kB / 1.131 GB, free: 25.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/1.052, allocations: 5.971 MB / 1.137 GB, free: 23.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.052, allocations: 225.8 kB / 1.137 GB, free: 23.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.688, allocations: 2.953 kB / 1.137 GB, free: 23.32 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)