Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_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.0007698/0.0007697, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004725/0.004725, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 12 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6226, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002227/0.6249, allocations: 1.44 MB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.6266, allocations: 0.6871 MB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.6266, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.875e-05/0.6267, allocations: 11.88 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.6269, allocations: 31.84 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.6278, allocations: 339 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006734/0.6285, allocations: 0.5306 MB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.6287, allocations: 28.91 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006034/0.6293, allocations: 307.1 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.6297, allocations: 179 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.6298, allocations: 12 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.6299, allocations: 16 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.6301, allocations: 115.6 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.6304, allocations: 232.4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007278/0.6312, allocations: 0.5743 MB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6312, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6312, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.6312, allocations: 0 / 1.028 GB, free: 11.31 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001573/0.6328, allocations: 0.7692 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6329, allocations: 16.02 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.633, allocations: 38.75 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.6332, allocations: 52.47 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.6338, allocations: 342 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/0.6339, allocations: 20.55 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.634, allocations: 32.36 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.6353, allocations: 251.5 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6354, allocations: 0 / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.6354, allocations: 7.984 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6354, allocations: 4 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.6365, allocations: 123.9 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.6382, allocations: 0.6875 MB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6396, allocations: 194.5 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.6406, allocations: 124.8 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.6407, allocations: 11.98 kB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.6419, allocations: 239.1 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.346e-06/0.6419, allocations: 0 / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.003439/0.6454, allocations: 0.5226 MB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.6454, allocations: 59.41 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.6462, allocations: 445.8 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.6463, allocations: 41.69 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.6464, allocations: 105.4 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.6465, allocations: 35.52 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.6466, allocations: 37.7 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6468, allocations: 334.8 kB / 1.032 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.6472, allocations: 139.9 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.6476, allocations: 201.8 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.6483, allocations: 302.6 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6483, allocations: 0 / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001279/0.6496, allocations: 0.5218 MB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.6497, allocations: 91.56 kB / 1.033 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6497, allocations: 8 kB / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6497, allocations: 0 / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6499, allocations: 27.92 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.65, allocations: 4 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.6506, allocations: 71.73 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.6508, allocations: 59.97 kB / 1.033 GB, free: 5.109 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003432/0.6511, allocations: 225.8 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.6512, allocations: 35.53 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/0.6513, allocations: 43.78 kB / 1.034 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.6513, allocations: 4 kB / 1.034 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6513, allocations: 0 / 1.034 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6513, allocations: 3.938 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.6544, allocations: 0.8105 MB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6544, allocations: 0 / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.6545, allocations: 4 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6545, allocations: 0 / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.6546, allocations: 23.91 kB / 1.034 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6546, allocations: 0 / 1.034 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6546, allocations: 0 / 1.034 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.657, allocations: 0.4924 MB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.6575, allocations: 240.4 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6576, allocations: 23.92 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.6583, allocations: 39.97 kB / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.6583, allocations: 7.984 kB / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/0.6584, allocations: 67.97 kB / 1.035 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004682/0.6589, allocations: 315 kB / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6589, allocations: 0 / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005251/0.6594, allocations: 79.83 kB / 1.036 GB, free: 2.613 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002865/0.6623, allocations: 1.064 MB / 1.037 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.6642, allocations: 491.2 kB / 1.037 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6642, allocations: 0 / 1.037 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.6653, allocations: 137.2 kB / 1.037 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.6659, allocations: 37.52 kB / 1.037 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.6735, allocations: 3.131 MB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.6744, allocations: 0.7866 MB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000134/0.6746, allocations: 17.42 kB / 1.041 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.6747, allocations: 31.42 kB / 1.041 GB, free: 12.73 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/0.6747, allocations: 0 / 1.041 GB, free: 12.73 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.6999, allocations: 6.515 MB / 1.047 GB, free: 6.285 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.7002, allocations: 227.1 kB / 1.048 GB, free: 6.027 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.537, allocations: 0 / 1.048 GB, free: 6.027 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)