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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001577/0.001576, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6647 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6273, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002505/0.6299, allocations: 1.511 MB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.631, allocations: 0.5344 MB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.6311, allocations: 5.094 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.6312, allocations: 7.922 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.6313, allocations: 35.34 kB / 0.9518 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.6321, allocations: 309.7 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.6326, allocations: 0.4926 MB / 0.9525 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.6326, allocations: 17.19 kB / 0.9525 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.633, allocations: 277.8 kB / 0.9528 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.6333, allocations: 132 kB / 0.9529 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.6334, allocations: 30.44 kB / 0.953 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.6335, allocations: 30.62 kB / 0.953 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.6336, allocations: 119.9 kB / 0.9531 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6338, allocations: 183.4 kB / 0.9533 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.6341, allocations: 419.9 kB / 0.9537 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6341, allocations: 0 / 0.9537 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6342, allocations: 0.9375 kB / 0.9537 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.6342, allocations: 0 / 0.9537 GB, free: 6.395 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.001134/0.6353, allocations: 0.8764 MB / 0.9545 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6354, allocations: 13.5 kB / 0.9546 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.6354, allocations: 37.53 kB / 0.9546 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.6355, allocations: 54.8 kB / 0.9546 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.6358, allocations: 309.6 kB / 0.9549 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.6359, allocations: 14.72 kB / 0.955 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.636, allocations: 30.52 kB / 0.955 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.6369, allocations: 216.1 kB / 0.9552 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.637, allocations: 7.938 kB / 0.9552 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.637, allocations: 0 / 0.9552 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.637, allocations: 1.656 kB / 0.9552 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.6378, allocations: 95.36 kB / 0.9553 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.6382, allocations: 388.8 kB / 0.9557 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.6392, allocations: 176.5 kB / 0.9558 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.64, allocations: 112.6 kB / 0.9559 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.64, allocations: 13.36 kB / 0.9559 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009432/0.641, allocations: 225.6 kB / 0.9562 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.641, allocations: 0 / 0.9562 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002599/0.6436, allocations: 479.8 kB / 0.9566 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6436, allocations: 64.33 kB / 0.9567 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.644, allocations: 414.3 kB / 0.9571 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.6441, allocations: 45 kB / 0.9571 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.6441, allocations: 92.36 kB / 0.9572 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.6442, allocations: 38.14 kB / 0.9572 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.6444, allocations: 139.6 kB / 0.9574 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.6444, allocations: 320.9 kB / 0.9577 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.6447, allocations: 121.6 kB / 0.9578 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.645, allocations: 167.6 kB / 0.958 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.6453, allocations: 281.9 kB / 0.9582 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6453, allocations: 0.9062 kB / 0.9582 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007374/0.646, allocations: 490.3 kB / 0.9587 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.6461, allocations: 90.94 kB / 0.9588 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6461, allocations: 2.562 kB / 0.9588 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6461, allocations: 2.531 kB / 0.9588 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.6463, allocations: 26.89 kB / 0.9588 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.6463, allocations: 6.844 kB / 0.9588 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.6468, allocations: 74.12 kB / 0.9589 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.6469, allocations: 56.3 kB / 0.9589 GB, free: 2.539 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.0001825/0.6471, allocations: 196.5 kB / 0.9591 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.6472, allocations: 43.89 kB / 0.9592 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.6472, allocations: 39.97 kB / 0.9592 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6472, allocations: 2.344 kB / 0.9592 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6472, allocations: 0 / 0.9592 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6473, allocations: 1.125 kB / 0.9592 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.6494, allocations: 0.7567 MB / 0.96 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6494, allocations: 0 / 0.96 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.6494, allocations: 3.375 kB / 0.96 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6494, allocations: 1.125 kB / 0.96 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.6495, allocations: 23.41 kB / 0.96 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6495, allocations: 1.031 kB / 0.96 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6495, allocations: 1.188 kB / 0.96 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6512, allocations: 480.2 kB / 0.9604 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.6515, allocations: 195.8 kB / 0.9606 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.6515, allocations: 9.125 kB / 0.9606 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.652, allocations: 35.16 kB / 0.9607 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.6521, allocations: 8.891 kB / 0.9607 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.6521, allocations: 62.06 kB / 0.9607 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000239/0.6524, allocations: 293.5 kB / 0.961 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6524, allocations: 0 / 0.961 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000371/0.6528, allocations: 65.86 kB / 0.9611 GB, free: 1.121 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.00197/0.6547, allocations: 1.02 MB / 0.9621 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.656, allocations: 450.9 kB / 0.9625 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.656, allocations: 1.094 kB / 0.9625 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.6568, allocations: 112 kB / 0.9626 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.6572, allocations: 30.84 kB / 0.9626 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.6617, allocations: 2.779 MB / 0.9654 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.6621, allocations: 0.7714 MB / 0.9661 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.797e-05/0.6622, allocations: 12.41 kB / 0.9661 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.6623, allocations: 26.55 kB / 0.9661 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.6623, allocations: 3.938 kB / 0.9662 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.6873, allocations: 6.116 MB / 0.9721 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.747, allocations: 5.234 kB / 0.9721 GB, free: 9.777 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)