Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_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.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001283/0.001283, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.226/2.226, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 64.09 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/0.59, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002474/0.5926, allocations: 1.568 MB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.5937, allocations: 0.5949 MB / 0.9512 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.5937, allocations: 1.312 kB / 0.9512 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.14e-05/0.5938, allocations: 7.922 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.594, allocations: 24.36 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.5946, allocations: 285.4 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.5949, allocations: 448.7 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.5949, allocations: 8.297 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.5953, allocations: 308.3 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.5955, allocations: 158.4 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.5956, allocations: 13.66 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.5957, allocations: 14.94 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.5958, allocations: 119.5 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.596, allocations: 183.3 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.5963, allocations: 421.6 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5963, allocations: 0 / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5963, allocations: 0 / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5963, allocations: 0 / 0.9531 GB, free: 6.34 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.0009556/0.5973, allocations: 0.8591 MB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5973, allocations: 10.28 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.5974, allocations: 36.81 kB / 0.9539 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5975, allocations: 54.94 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.5978, allocations: 320.9 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.5978, allocations: 15.48 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.5979, allocations: 29.98 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.5989, allocations: 209.8 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.5989, allocations: 3.938 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.5989, allocations: 5.141 kB / 0.9546 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.5989, allocations: 1.469 kB / 0.9546 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.5997, allocations: 103.5 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.6, allocations: 396.4 kB / 0.955 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.6011, allocations: 180.9 kB / 0.9552 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00076/0.6018, allocations: 111.9 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.6019, allocations: 1.656 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009547/0.6028, allocations: 226.2 kB / 0.9555 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.6028, allocations: 0 / 0.9555 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002565/0.6054, allocations: 490.3 kB / 0.956 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.6054, allocations: 56.62 kB / 0.956 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.6058, allocations: 417.3 kB / 0.9564 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.6058, allocations: 41.94 kB / 0.9565 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.6059, allocations: 92.33 kB / 0.9566 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.6059, allocations: 41.03 kB / 0.9566 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.6061, allocations: 128.3 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.6061, allocations: 321.5 kB / 0.957 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.6064, allocations: 125.5 kB / 0.9572 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.6067, allocations: 166.7 kB / 0.9573 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.607, allocations: 284 kB / 0.9576 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.607, allocations: 0 / 0.9576 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007335/0.6077, allocations: 494 kB / 0.9581 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.6078, allocations: 92.34 kB / 0.9582 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6078, allocations: 1.344 kB / 0.9582 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6078, allocations: 2.25 kB / 0.9582 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.608, allocations: 23.17 kB / 0.9582 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.608, allocations: 2.875 kB / 0.9582 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.6085, allocations: 81.53 kB / 0.9583 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.6086, allocations: 60.64 kB / 0.9583 GB, free: 2.484 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.0001682/0.6088, allocations: 190.9 kB / 0.9585 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.6089, allocations: 35.94 kB / 0.9585 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.6089, allocations: 44.27 kB / 0.9586 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6089, allocations: 2.125 kB / 0.9586 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6089, allocations: 0 / 0.9586 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6089, allocations: 5.094 kB / 0.9586 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.611, allocations: 0.7467 MB / 0.9593 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6111, allocations: 0 / 0.9593 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.6111, allocations: 11.05 kB / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6111, allocations: 0.8438 kB / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.6111, allocations: 20.44 kB / 0.9593 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6112, allocations: 1.031 kB / 0.9593 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6112, allocations: 3.984 kB / 0.9593 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.6129, allocations: 479 kB / 0.9598 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.6131, allocations: 206.1 kB / 0.96 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.6131, allocations: 7.281 kB / 0.96 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.6136, allocations: 27.19 kB / 0.96 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.6137, allocations: 13.23 kB / 0.96 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.6137, allocations: 56 kB / 0.9601 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002356/0.614, allocations: 298.4 kB / 0.9604 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.614, allocations: 3.938 kB / 0.9604 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003353/0.6143, allocations: 62.53 kB / 0.9604 GB, free: 1.078 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.001921/0.6162, allocations: 1.028 MB / 0.9614 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.6174, allocations: 444.2 kB / 0.9619 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6174, allocations: 1.156 kB / 0.9619 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.6183, allocations: 115.2 kB / 0.962 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.6186, allocations: 25.77 kB / 0.962 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.6229, allocations: 2.892 MB / 0.9648 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.6232, allocations: 0.771 MB / 0.9656 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.902e-05/0.6233, allocations: 12.67 kB / 0.9656 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.6234, allocations: 26.45 kB / 0.9656 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6234, allocations: 4 kB / 0.9656 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.6395, allocations: 6 MB / 0.9715 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.6397, allocations: 214.1 kB / 0.9717 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.381, allocations: 6.609 kB / 0.9717 GB, free: 9.477 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)