Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.266/2.266, allocations: 248.5 MB / 261.1 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 175.3 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 0.571 GB, free: 11.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 98.45 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.272e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8865/1.095, allocations: 133.7 MB / 1.021 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.096, allocations: 72.7 kB / 1.021 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03062/1.126, allocations: 5.215 MB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/1.126, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.126, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.6511 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.001245/1.128, allocations: 0.6125 MB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.128, allocations: 8.031 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.607e-05/1.128, allocations: 42.23 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/1.128, allocations: 35.67 kB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/1.129, allocations: 274.8 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/1.129, allocations: 14.25 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.129, allocations: 19.5 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/1.129, allocations: 166.8 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.129, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/1.129, allocations: 11.23 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/1.129, allocations: 3.938 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/1.129, allocations: 58.67 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/1.131, allocations: 0.5757 MB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/1.132, allocations: 144.7 kB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.132, allocations: 61.47 kB / 1.028 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/1.132, allocations: 4 kB / 1.028 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006416/1.132, allocations: 229.4 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.086e-06/1.133, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007175/1.133, allocations: 225 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.133, allocations: 66.73 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/1.134, allocations: 282.3 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/1.134, allocations: 41.08 kB / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.134, allocations: 104.4 kB / 1.029 GB, free: 10 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/1.134, allocations: 50.81 kB / 1.029 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/1.134, allocations: 7.312 kB / 1.029 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.134, allocations: 325.5 kB / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/1.135, allocations: 121.1 kB / 1.03 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/1.135, allocations: 168 kB / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/1.136, allocations: 163.6 kB / 1.03 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.136, allocations: 0 / 1.03 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001209/1.137, allocations: 438.8 kB / 1.03 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.137, allocations: 87.53 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.137, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.137, allocations: 4 kB / 1.031 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/1.137, allocations: 23.97 kB / 1.031 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/1.137, allocations: 7.938 kB / 1.031 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/1.138, allocations: 55.83 kB / 1.031 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.138, allocations: 55.42 kB / 1.031 GB, free: 8.695 MB / 0.6511 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.0002034/1.138, allocations: 137.2 kB / 1.031 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/1.139, allocations: 27.62 kB / 1.031 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/1.139, allocations: 33.08 kB / 1.031 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.139, allocations: 4 kB / 1.031 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.139, allocations: 4 kB / 1.031 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.139, allocations: 3.984 kB / 1.031 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.14, allocations: 0.5884 MB / 1.031 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.14, allocations: 4 kB / 1.031 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/1.14, allocations: 7.938 kB / 1.031 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.14, allocations: 0 / 1.031 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/1.14, allocations: 19.78 kB / 1.032 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.14, allocations: 3.953 kB / 1.032 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.14, allocations: 0 / 1.032 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/1.141, allocations: 324.6 kB / 1.032 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/1.141, allocations: 187.6 kB / 1.032 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/1.141, allocations: 19.11 kB / 1.032 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/1.141, allocations: 4 kB / 1.032 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.142, allocations: 23.42 kB / 1.032 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/1.142, allocations: 27.98 kB / 1.032 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003286/1.142, allocations: 229 kB / 1.032 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.916e-06/1.142, allocations: 0 / 1.032 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005181/1.142, allocations: 59 kB / 1.032 GB, free: 7.156 MB / 0.6511 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.001065/1.144, allocations: 0.8757 MB / 1.033 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00096/1.145, allocations: 382 kB / 1.034 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.145, allocations: 384 / 1.034 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/1.145, allocations: 74.55 kB / 1.034 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/1.145, allocations: 38.7 kB / 1.034 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.146, allocations: 363.4 kB / 1.034 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/1.147, allocations: 0.769 MB / 1.035 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002362/1.147, allocations: 33.2 kB / 1.035 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/1.147, allocations: 59.11 kB / 1.035 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.147, allocations: 0 / 1.035 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/1.184, allocations: 5.998 MB / 1.041 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/1.184, allocations: 198.9 kB / 1.041 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.761, allocations: 0 / 1.041 GB, free: 14.65 MB / 0.6667 GB