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.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.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.00148/0.00148, 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.001325/0.001325, allocations: 193.2 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.297/2.297, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6221/0.6236, allocations: 140.4 MB / 0.9497 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002252/0.6259, allocations: 1.519 MB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.627, allocations: 0.544 MB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.627, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.603e-05/0.6271, allocations: 7.875 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.6272, allocations: 28.16 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.6279, allocations: 307.4 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.6283, allocations: 0.5011 MB / 0.9525 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.6283, allocations: 9.516 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.6286, allocations: 280.5 kB / 0.9528 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.6288, allocations: 129.2 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.6289, allocations: 26.78 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.629, allocations: 26.28 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.6291, allocations: 116 kB / 0.9531 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.6293, allocations: 187.7 kB / 0.9533 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.6297, allocations: 424.3 kB / 0.9537 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6297, allocations: 0 / 0.9537 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6297, allocations: 0 / 0.9537 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6297, allocations: 0 / 0.9537 GB, free: 6.23 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.0009788/0.6307, allocations: 0.8718 MB / 0.9545 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6307, allocations: 9.688 kB / 0.9545 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.6308, allocations: 41.02 kB / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.6309, allocations: 53.91 kB / 0.9546 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.6312, allocations: 317.6 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.6312, allocations: 19.45 kB / 0.955 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.6313, allocations: 25.86 kB / 0.955 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/0.6323, allocations: 210.9 kB / 0.9552 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6323, allocations: 3.938 kB / 0.9552 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.6324, allocations: 5.219 kB / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6324, allocations: 1.469 kB / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.6331, allocations: 100.3 kB / 0.9553 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.6335, allocations: 394.1 kB / 0.9557 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.6345, allocations: 178.3 kB / 0.9558 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000701/0.6352, allocations: 114.7 kB / 0.9559 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.6352, allocations: 2.188 kB / 0.9559 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.6361, allocations: 223 kB / 0.9562 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.6361, allocations: 5.375 kB / 0.9562 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002504/0.6386, allocations: 484.1 kB / 0.9566 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.6386, allocations: 60.59 kB / 0.9567 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.639, allocations: 417 kB / 0.9571 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.639, allocations: 37.64 kB / 0.9571 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.6391, allocations: 96.5 kB / 0.9572 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6391, allocations: 41.59 kB / 0.9573 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.6393, allocations: 124 kB / 0.9574 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.6394, allocations: 329.1 kB / 0.9577 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.6396, allocations: 125.1 kB / 0.9578 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.6399, allocations: 170.8 kB / 0.958 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.6402, allocations: 283.6 kB / 0.9582 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6402, allocations: 1.406 kB / 0.9582 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007275/0.641, allocations: 484.3 kB / 0.9587 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.641, allocations: 91.72 kB / 0.9588 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.641, allocations: 5.422 kB / 0.9588 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6411, allocations: 6.406 kB / 0.9588 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6412, allocations: 23.27 kB / 0.9588 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6412, allocations: 2.375 kB / 0.9588 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.6417, allocations: 66.48 kB / 0.9589 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.6418, allocations: 64.41 kB / 0.9589 GB, free: 2.371 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.0001699/0.642, allocations: 194.3 kB / 0.9591 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.6421, allocations: 36.31 kB / 0.9592 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.6421, allocations: 44.02 kB / 0.9592 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6421, allocations: 2.156 kB / 0.9592 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6421, allocations: 0 / 0.9592 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6421, allocations: 1.156 kB / 0.9592 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.6442, allocations: 0.7522 MB / 0.9599 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6442, allocations: 3.938 kB / 0.96 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.6442, allocations: 8.297 kB / 0.96 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6442, allocations: 1.062 kB / 0.96 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.6442, allocations: 15.83 kB / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6443, allocations: 1.188 kB / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6443, allocations: 0 / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.6459, allocations: 481.2 kB / 0.9604 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.6461, allocations: 199 kB / 0.9606 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.6461, allocations: 17.8 kB / 0.9606 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.6466, allocations: 31.53 kB / 0.9607 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.6466, allocations: 7.828 kB / 0.9607 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.6467, allocations: 53.2 kB / 0.9607 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002086/0.6469, allocations: 294.4 kB / 0.961 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6469, allocations: 0 / 0.961 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003305/0.6473, allocations: 69.98 kB / 0.9611 GB, free: 0.957 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.001819/0.6491, allocations: 1.032 MB / 0.9621 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.6503, allocations: 443.4 kB / 0.9625 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6504, allocations: 0 / 0.9625 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.6511, allocations: 124.9 kB / 0.9626 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.6515, allocations: 26.91 kB / 0.9627 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.6559, allocations: 2.77 MB / 0.9654 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6562, allocations: 0.7748 MB / 0.9661 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.6562, allocations: 17.05 kB / 0.9661 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.6563, allocations: 26.39 kB / 0.9662 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/0.6563, allocations: 0 / 0.9662 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.6795, allocations: 6.12 MB / 0.9721 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.758, allocations: 13.41 kB / 0.9721 GB, free: 9.605 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)