Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_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.001301/0.001301, 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.001323/0.001323, allocations: 198.3 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 55.91 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6348/0.6362, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002656/0.6388, allocations: 1.525 MB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.6401, allocations: 0.5461 MB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.6402, allocations: 3.938 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.377e-05/0.6403, allocations: 7.938 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.6404, allocations: 19.86 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.6412, allocations: 319.1 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.6417, allocations: 0.4994 MB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.6418, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.6422, allocations: 279.6 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.6424, allocations: 139.6 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.6425, allocations: 28 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.6426, allocations: 28 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.6428, allocations: 107.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.643, allocations: 191 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.6433, allocations: 421 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6434, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6434, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6434, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 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.001091/0.6445, allocations: 0.8681 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6445, allocations: 8.031 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.6446, allocations: 42.73 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.6447, allocations: 48.47 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.645, allocations: 314.2 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.6451, allocations: 20.36 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.6452, allocations: 28.3 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.6461, allocations: 210 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.6462, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.6462, allocations: 11.98 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6462, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.647, allocations: 95.92 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.6474, allocations: 401.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.6485, allocations: 166.5 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.6493, allocations: 120.7 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.6493, allocations: 4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009275/0.6502, allocations: 217.4 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.6502, allocations: 7.938 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00257/0.6528, allocations: 484.8 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6529, allocations: 59.41 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.6533, allocations: 421.8 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.6533, allocations: 37.7 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.6534, allocations: 97.44 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.6535, allocations: 43.47 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.6537, allocations: 125.3 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6538, allocations: 326.8 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.654, allocations: 123.9 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.6543, allocations: 169.9 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.6547, allocations: 282.8 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6547, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008205/0.6555, allocations: 488.6 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.104e-05/0.6556, allocations: 96.86 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6556, allocations: 0 / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.6557, allocations: 8.188 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.6558, allocations: 19.92 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6559, allocations: 4 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.6564, allocations: 59.8 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/0.6565, allocations: 63.97 kB / 1.027 GB, free: 8.602 MB / 0.7794 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.0002233/0.6567, allocations: 196 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.6568, allocations: 47.41 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.6569, allocations: 47.72 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6569, allocations: 0 / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6569, allocations: 0 / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6569, allocations: 4 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.6591, allocations: 0.7419 MB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6591, allocations: 0 / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.6592, allocations: 7.984 kB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6592, allocations: 0 / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.6592, allocations: 15.98 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6592, allocations: 4 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6592, allocations: 0 / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.661, allocations: 478.7 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.6612, allocations: 200.5 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.6613, allocations: 11.98 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.6618, allocations: 35.84 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.6619, allocations: 11.98 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.6619, allocations: 55.98 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002668/0.6622, allocations: 291.1 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6622, allocations: 3.938 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003611/0.6626, allocations: 71.98 kB / 1.029 GB, free: 6.312 MB / 0.7794 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.002078/0.6647, allocations: 1.026 MB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.666, allocations: 443.6 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.666, allocations: 0 / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.6668, allocations: 124.3 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.6672, allocations: 26.11 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.6712, allocations: 2.779 MB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6715, allocations: 0.7783 MB / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.6716, allocations: 17.08 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.6716, allocations: 23.42 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6716, allocations: 0 / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.6963, allocations: 6.125 MB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.955, allocations: 10.23 kB / 1.04 GB, free: 10.74 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)