Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 99.36 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 196 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.523, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002321/0.5254, allocations: 1.586 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.5264, allocations: 0.5384 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.5265, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.5266, allocations: 3.938 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.5267, allocations: 23.86 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.5273, allocations: 282 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.5278, allocations: 0.5111 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.5278, allocations: 8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.5282, allocations: 339 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.5285, allocations: 167.2 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-05/0.5285, allocations: 28 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.5286, allocations: 24 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.5287, allocations: 123.6 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.5289, allocations: 194.8 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.5293, allocations: 436.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5293, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5293, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5293, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001048/0.5303, allocations: 0.8625 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.5304, allocations: 8.031 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.5304, allocations: 38.75 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.5305, allocations: 60.39 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5308, allocations: 302.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.5309, allocations: 20.36 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.531, allocations: 32.36 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.5319, allocations: 210 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5319, allocations: 3.938 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.5319, allocations: 3.984 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.5319, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.5327, allocations: 103.9 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.533, allocations: 389.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.534, allocations: 190.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.5347, allocations: 108.8 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5348, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008674/0.5356, allocations: 223.1 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.5357, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002338/0.538, allocations: 487.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.538, allocations: 63.39 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.5384, allocations: 409.8 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.5385, allocations: 49.62 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.5385, allocations: 89.45 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.5386, allocations: 43.53 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.5388, allocations: 129.3 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.5388, allocations: 318.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.5391, allocations: 127.9 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.5393, allocations: 173.9 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.5397, allocations: 279.1 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5397, allocations: 0 / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007283/0.5404, allocations: 492.6 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.5405, allocations: 91.31 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5405, allocations: 4.188 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5405, allocations: 8 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5407, allocations: 23.92 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.5407, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.5412, allocations: 67.72 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.5413, allocations: 59.98 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.5414, allocations: 196.5 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.5415, allocations: 39.47 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.5416, allocations: 43.73 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5416, allocations: 4 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5416, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5416, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.5436, allocations: 0.7363 MB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5436, allocations: 3.984 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.5436, allocations: 4 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5436, allocations: 4 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.5437, allocations: 23.97 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5437, allocations: 0 / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5437, allocations: 4 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5453, allocations: 472.2 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.5455, allocations: 204.5 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.5456, allocations: 16 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.5461, allocations: 23.97 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.5461, allocations: 15.97 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.5462, allocations: 59.97 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002334/0.5464, allocations: 299 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5464, allocations: 0 / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003181/0.5467, allocations: 60 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.5486, allocations: 1.037 MB / 1.029 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.5498, allocations: 447.4 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5498, allocations: 8 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.5505, allocations: 116.9 kB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5509, allocations: 28.28 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.5547, allocations: 2.89 MB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5549, allocations: 0.7785 MB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.601e-05/0.555, allocations: 13.09 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.5551, allocations: 23.42 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5551, allocations: 0 / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.223/1.778, allocations: 6.203 MB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.778, allocations: 202.1 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/3.885, allocations: 0 / 1.04 GB, free: 10.5 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)