Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 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.001499/0.001499, allocations: 197 kB / 16.54 MB, free: 6.672 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.339/2.339, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.88 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.528, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002374/0.5304, allocations: 1.51 MB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.5315, allocations: 0.5508 MB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.5316, allocations: 0 / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.732e-05/0.5317, allocations: 9.047 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.5318, allocations: 34.53 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.5324, allocations: 304.7 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.5328, allocations: 0.501 MB / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.5329, allocations: 13.23 kB / 0.9526 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.5331, allocations: 269.7 kB / 0.9528 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.5334, allocations: 135.8 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.797e-05/0.5335, allocations: 26.84 kB / 0.953 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.5336, allocations: 27.75 kB / 0.953 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.5337, allocations: 114.9 kB / 0.9531 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.5338, allocations: 187.4 kB / 0.9533 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.5341, allocations: 424.4 kB / 0.9537 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5341, allocations: 0 / 0.9537 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5342, allocations: 1.188 kB / 0.9537 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.5342, allocations: 4 kB / 0.9537 GB, free: 6.355 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.0009223/0.5351, allocations: 0.8707 MB / 0.9545 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5351, allocations: 9.688 kB / 0.9546 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.5352, allocations: 41.02 kB / 0.9546 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.5353, allocations: 51.09 kB / 0.9546 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.5355, allocations: 317.6 kB / 0.9549 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.5356, allocations: 18.95 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.5357, allocations: 21.06 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.5366, allocations: 214.5 kB / 0.9552 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5366, allocations: 3.938 kB / 0.9552 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.5366, allocations: 5.562 kB / 0.9552 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5367, allocations: 1.625 kB / 0.9552 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.5374, allocations: 98.8 kB / 0.9553 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.5377, allocations: 388.5 kB / 0.9557 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5388, allocations: 177.2 kB / 0.9558 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.5395, allocations: 111.9 kB / 0.9559 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5395, allocations: 1.5 kB / 0.9559 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008954/0.5404, allocations: 229.5 kB / 0.9562 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.5405, allocations: 0 / 0.9562 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002501/0.543, allocations: 491.4 kB / 0.9566 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.543, allocations: 59.48 kB / 0.9567 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.5433, allocations: 413.3 kB / 0.9571 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.5434, allocations: 41.94 kB / 0.9571 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.5434, allocations: 96.66 kB / 0.9572 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.5435, allocations: 36.86 kB / 0.9572 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.5437, allocations: 128.5 kB / 0.9574 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.5437, allocations: 325.1 kB / 0.9577 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.5439, allocations: 130 kB / 0.9578 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.5442, allocations: 166.6 kB / 0.958 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.5445, allocations: 283.4 kB / 0.9582 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5445, allocations: 0.875 kB / 0.9582 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007003/0.5452, allocations: 487.2 kB / 0.9587 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.5453, allocations: 92.12 kB / 0.9588 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5453, allocations: 6.469 kB / 0.9588 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5453, allocations: 2.688 kB / 0.9588 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.5455, allocations: 25.97 kB / 0.9588 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5455, allocations: 3.281 kB / 0.9588 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.546, allocations: 65.55 kB / 0.9589 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.5461, allocations: 61.05 kB / 0.9589 GB, free: 2.508 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.000172/0.5463, allocations: 198.2 kB / 0.9591 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.5463, allocations: 36.22 kB / 0.9592 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.5464, allocations: 40.78 kB / 0.9592 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5464, allocations: 1.312 kB / 0.9592 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5464, allocations: 1.281 kB / 0.9592 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5464, allocations: 0 / 0.9592 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.5485, allocations: 0.7503 MB / 0.9599 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5485, allocations: 0 / 0.9599 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.5485, allocations: 7.75 kB / 0.9599 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5485, allocations: 1.25 kB / 0.9599 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.5486, allocations: 19.34 kB / 0.96 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5486, allocations: 1.344 kB / 0.96 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5486, allocations: 4 kB / 0.96 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.5502, allocations: 480 kB / 0.9604 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.5504, allocations: 202 kB / 0.9606 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.5505, allocations: 10.41 kB / 0.9606 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.551, allocations: 34.58 kB / 0.9607 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.551, allocations: 4.688 kB / 0.9607 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.5511, allocations: 57.81 kB / 0.9607 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000229/0.5513, allocations: 293.3 kB / 0.961 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5513, allocations: 1.344 kB / 0.961 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003461/0.5517, allocations: 68.73 kB / 0.9611 GB, free: 1.094 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.001891/0.5536, allocations: 1.023 MB / 0.9621 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.5548, allocations: 447.6 kB / 0.9625 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5549, allocations: 0 / 0.9625 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.5557, allocations: 126.3 kB / 0.9626 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.5561, allocations: 41.08 kB / 0.9627 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.5601, allocations: 2.767 MB / 0.9654 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.5604, allocations: 0.7742 MB / 0.9661 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.36e-05/0.5605, allocations: 21.19 kB / 0.9661 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.5605, allocations: 20.91 kB / 0.9662 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.5605, allocations: 1.438 kB / 0.9662 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.5819, allocations: 6.111 MB / 0.9721 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.61, allocations: 8.484 kB / 0.9721 GB, free: 9.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)