Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007481/0.007481, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003058, allocations: 12 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5706, allocations: 142.4 MB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001552/0.5722, allocations: 1.448 MB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.5734, allocations: 0.6845 MB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.5734, allocations: 1.031 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.5735, allocations: 11.92 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.5737, allocations: 28.16 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.5743, allocations: 335 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.5747, allocations: 0.5328 MB / 0.9582 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.5748, allocations: 38.52 kB / 0.9582 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.5752, allocations: 311.3 kB / 0.9585 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.5754, allocations: 162.3 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.5755, allocations: 13.75 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.5755, allocations: 13.75 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.5756, allocations: 120.8 kB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.5758, allocations: 227.8 kB / 0.959 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.5762, allocations: 0.5754 MB / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.5762, allocations: 0 / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5762, allocations: 1.344 kB / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5762, allocations: 0 / 0.9596 GB, free: 4.457 MB / 0.7169 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.0008362/0.5771, allocations: 0.7686 MB / 0.9603 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5771, allocations: 10.12 kB / 0.9603 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.5771, allocations: 45.08 kB / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.5773, allocations: 52.19 kB / 0.9604 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.5776, allocations: 349.1 kB / 0.9608 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.5776, allocations: 16.59 kB / 0.9608 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.5777, allocations: 31.67 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.5787, allocations: 255 kB / 0.961 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5787, allocations: 0 / 0.961 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.5787, allocations: 5.359 kB / 0.9611 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.5787, allocations: 2.75 kB / 0.9611 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.5795, allocations: 123.7 kB / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.5806, allocations: 0.6803 MB / 0.9618 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.5816, allocations: 197.9 kB / 0.962 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/0.5824, allocations: 131.1 kB / 0.9622 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5824, allocations: 1.375 kB / 0.9622 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/0.5833, allocations: 248.8 kB / 0.9624 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.5833, allocations: 0 / 0.9624 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00253/0.5859, allocations: 0.5221 MB / 0.9629 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.5859, allocations: 62.34 kB / 0.963 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.5863, allocations: 442 kB / 0.9634 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.5863, allocations: 44.97 kB / 0.9634 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.5864, allocations: 102.4 kB / 0.9635 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.5864, allocations: 36.86 kB / 0.9636 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.5865, allocations: 37.27 kB / 0.9636 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.5865, allocations: 333.1 kB / 0.9639 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.5868, allocations: 136 kB / 0.964 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.5871, allocations: 206.3 kB / 0.9642 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.5874, allocations: 297.7 kB / 0.9645 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.5874, allocations: 6.656 kB / 0.9645 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007582/0.5882, allocations: 0.518 MB / 0.965 GB, free: 428 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.5883, allocations: 99.42 kB / 0.9651 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5883, allocations: 1.344 kB / 0.9651 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5883, allocations: 2.688 kB / 0.9651 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.5884, allocations: 22.48 kB / 0.9652 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.5885, allocations: 7.062 kB / 0.9652 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.589, allocations: 70.33 kB / 0.9652 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.5891, allocations: 60 kB / 0.9653 GB, free: 288 kB / 0.7169 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.0001848/0.5893, allocations: 216.9 kB / 0.9655 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.5893, allocations: 45.02 kB / 0.9655 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.5894, allocations: 45.22 kB / 0.9656 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5894, allocations: 1.781 kB / 0.9656 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5894, allocations: 0 / 0.9656 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5894, allocations: 4.906 kB / 0.9656 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5916, allocations: 0.8064 MB / 0.9664 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5916, allocations: 3.938 kB / 0.9664 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.5917, allocations: 11.94 kB / 0.9664 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5917, allocations: 0.875 kB / 0.9664 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.5917, allocations: 23.91 kB / 0.9664 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5917, allocations: 1.125 kB / 0.9664 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5917, allocations: 0 / 0.9664 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5935, allocations: 0.4884 MB / 0.9669 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.5938, allocations: 244.3 kB / 0.9671 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.5939, allocations: 22.27 kB / 0.9671 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.5943, allocations: 36.62 kB / 0.9672 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.5944, allocations: 8.047 kB / 0.9672 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.5945, allocations: 61.56 kB / 0.9672 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003037/0.5948, allocations: 317.9 kB / 0.9675 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5948, allocations: 5.125 kB / 0.9676 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003364/0.5951, allocations: 71.45 kB / 0.9676 GB, free: 14.74 MB / 0.7325 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.002076/0.5972, allocations: 1.057 MB / 0.9687 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.5985, allocations: 488.7 kB / 0.9691 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5985, allocations: 384 / 0.9691 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.5993, allocations: 136.4 kB / 0.9692 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.5997, allocations: 37.22 kB / 0.9693 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.6039, allocations: 3.125 MB / 0.9723 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.6043, allocations: 0.7954 MB / 0.9731 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.781e-05/0.6043, allocations: 13.42 kB / 0.9731 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.6044, allocations: 30.45 kB / 0.9732 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6044, allocations: 0 / 0.9732 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.693, allocations: 6.531 MB / 0.9795 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.693, allocations: 239.7 kB / 0.9798 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/3.638, allocations: 0 / 0.9798 GB, free: 5.578 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)