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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.418/2.418, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001516/0.001516, allocations: 173 kB / 360.6 MB, free: 7.301 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.145/2.145, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.0011/0.0011, allocations: 94 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.163e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8403, allocations: 115.2 MB / 0.9634 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/1.101, allocations: 139.2 MB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.102, allocations: 73.27 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02576/1.127, allocations: 5.171 MB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.018e-06/1.127, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.83e-05/1.128, allocations: 7.938 kB / 1.104 GB, free: 12.17 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.001285/1.129, allocations: 0.6076 MB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.129, allocations: 8.031 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/1.129, allocations: 35.62 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/1.13, allocations: 272.1 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/1.13, allocations: 7.938 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.13, allocations: 19.98 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002104/1.13, allocations: 51.98 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/1.13, allocations: 161.5 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.13, allocations: 3.984 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/1.13, allocations: 4 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.13, allocations: 4 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/1.132, allocations: 0.5478 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/1.133, allocations: 129 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/1.133, allocations: 56.84 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/1.133, allocations: 7.984 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/1.134, allocations: 222.8 kB / 1.107 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.076e-06/1.134, allocations: 0 / 1.107 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007074/1.134, allocations: 222.2 kB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/1.134, allocations: 55.41 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/1.135, allocations: 265.1 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.135, allocations: 37.7 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.135, allocations: 105.3 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/1.135, allocations: 43.45 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/1.135, allocations: 4 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.135, allocations: 322.8 kB / 1.108 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/1.136, allocations: 112.1 kB / 1.108 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/1.136, allocations: 150.2 kB / 1.108 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/1.136, allocations: 85.44 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.136, allocations: 0 / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001108/1.138, allocations: 344.4 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.138, allocations: 79.58 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.138, allocations: 0 / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.138, allocations: 7.375 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/1.138, allocations: 27.91 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.138, allocations: 4 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/1.139, allocations: 43.81 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.139, allocations: 55.98 kB / 1.108 GB, free: 7.867 MB / 0.7136 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 () * 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.0002106/1.139, allocations: 139.8 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005518/1.14, allocations: 212.9 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/1.14, allocations: 31.62 kB / 1.109 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/1.14, allocations: 30.14 kB / 1.109 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.14, allocations: 4 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.14, allocations: 3.984 kB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.14, allocations: 0 / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/1.141, allocations: 0.5534 MB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.141, allocations: 0 / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/1.141, allocations: 15.98 kB / 1.109 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.141, allocations: 0 / 1.109 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/1.141, allocations: 7.984 kB / 1.109 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.141, allocations: 7.938 kB / 1.109 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.141, allocations: 1 kB / 1.109 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/1.142, allocations: 325.1 kB / 1.11 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/1.142, allocations: 180.7 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/1.142, allocations: 15.98 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/1.143, allocations: 8 kB / 1.11 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/1.143, allocations: 15.97 kB / 1.11 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/1.143, allocations: 31.98 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003059/1.143, allocations: 212.6 kB / 1.11 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.143, allocations: 0 / 1.11 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005751/1.144, allocations: 51.91 kB / 1.11 GB, free: 5.953 MB / 0.7136 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) * 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.001026/1.145, allocations: 0.8836 MB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001251/1.146, allocations: 356.8 kB / 1.111 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.146, allocations: 4 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/1.146, allocations: 68.27 kB / 1.111 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/1.147, allocations: 26.45 kB / 1.112 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/1.149, allocations: 366.2 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/1.15, allocations: 0.7605 MB / 1.113 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004037/1.15, allocations: 43.5 kB / 1.113 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.15, allocations: 55.41 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of SimCode: time 1.733e-06/1.15, allocations: 0 / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/1.202, allocations: 5.46 MB / 1.118 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/1.203, allocations: 179.9 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.679, allocations: 4 kB / 1.118 GB, free: 13.74 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)