Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00131/0.00131, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.24/2.24, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5835, allocations: 140.4 MB / 0.949 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002115/0.5856, allocations: 1.567 MB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.5867, allocations: 0.5859 MB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.5867, allocations: 1.156 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.167e-05/0.5868, allocations: 7.938 kB / 0.9511 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.5869, allocations: 29.03 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.5875, allocations: 281 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.5878, allocations: 452.2 kB / 0.9519 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.5878, allocations: 13.05 kB / 0.9519 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.5881, allocations: 304.6 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.5883, allocations: 161.9 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.295e-05/0.5884, allocations: 13.16 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.5885, allocations: 14.56 kB / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.5886, allocations: 115.6 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.5888, allocations: 178.9 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.5892, allocations: 414 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5892, allocations: 0 / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5892, allocations: 7.938 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5892, allocations: 0 / 0.953 GB, free: 6.246 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009506/0.5901, allocations: 0.8723 MB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.5902, allocations: 9.406 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.5902, allocations: 36.64 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.5903, allocations: 57.84 kB / 0.954 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.5906, allocations: 313.6 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.5907, allocations: 18.98 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.5908, allocations: 30.45 kB / 0.9543 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.5918, allocations: 214.2 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5918, allocations: 3.938 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.5919, allocations: 2.094 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5919, allocations: 1 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.5927, allocations: 103.9 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.593, allocations: 387.5 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.5942, allocations: 173.8 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008282/0.595, allocations: 111.6 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.595, allocations: 11.8 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009668/0.596, allocations: 218.8 kB / 0.9555 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.596, allocations: 0 / 0.9555 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002647/0.5987, allocations: 491 kB / 0.956 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.5987, allocations: 59.53 kB / 0.956 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.599, allocations: 409.8 kB / 0.9564 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.5991, allocations: 42.53 kB / 0.9565 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.5991, allocations: 99.77 kB / 0.9566 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.5992, allocations: 40.92 kB / 0.9566 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.5994, allocations: 128.4 kB / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.5994, allocations: 325 kB / 0.957 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.5997, allocations: 121.8 kB / 0.9572 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.5999, allocations: 167.2 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.6003, allocations: 281.1 kB / 0.9576 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6003, allocations: 1.125 kB / 0.9576 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007452/0.601, allocations: 487.6 kB / 0.958 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.6011, allocations: 96.41 kB / 0.9581 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6011, allocations: 1.062 kB / 0.9581 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6011, allocations: 3.469 kB / 0.9581 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.6013, allocations: 30.12 kB / 0.9582 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.6013, allocations: 7.266 kB / 0.9582 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.6018, allocations: 65.64 kB / 0.9582 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.6019, allocations: 60.3 kB / 0.9583 GB, free: 2.395 MB / 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.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.0001782/0.6021, allocations: 200.7 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.6022, allocations: 48.53 kB / 0.9585 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.6022, allocations: 36.28 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6022, allocations: 1.969 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6022, allocations: 0 / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6022, allocations: 3.984 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.6044, allocations: 0.7474 MB / 0.9593 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6045, allocations: 0.875 kB / 0.9593 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.6045, allocations: 3.188 kB / 0.9593 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6045, allocations: 1.094 kB / 0.9593 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.6045, allocations: 28.28 kB / 0.9593 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6045, allocations: 5.156 kB / 0.9593 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6046, allocations: 0 / 0.9593 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.6063, allocations: 482.8 kB / 0.9598 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.6065, allocations: 196.5 kB / 0.96 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.6066, allocations: 9.375 kB / 0.96 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.6071, allocations: 35.42 kB / 0.96 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.6072, allocations: 7.359 kB / 0.96 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.6073, allocations: 58.39 kB / 0.9601 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002492/0.6075, allocations: 293.4 kB / 0.9604 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6075, allocations: 4 kB / 0.9604 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003514/0.6079, allocations: 66.52 kB / 0.9604 GB, free: 0.9766 MB / 0.7169 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.001954/0.6098, allocations: 1.024 MB / 0.9614 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.6111, allocations: 436.2 kB / 0.9619 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6111, allocations: 384 / 0.9619 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.6119, allocations: 121.7 kB / 0.962 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.6123, allocations: 29.66 kB / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.6164, allocations: 2.889 MB / 0.9648 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.6167, allocations: 0.7747 MB / 0.9656 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.6168, allocations: 12.7 kB / 0.9656 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.6169, allocations: 18.06 kB / 0.9656 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.6169, allocations: 0.9062 kB / 0.9656 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.633, allocations: 6.009 MB / 0.9715 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.6332, allocations: 206.8 kB / 0.9717 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.313, allocations: 7.875 kB / 0.9717 GB, free: 9.371 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)