Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_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.001696/0.001696, allocations: 95.72 kB / 15.68 MB, free: 488 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.002363/0.002363, allocations: 169.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.498/2.498, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.352/1.352, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.0005824, allocations: 4.906 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3341, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003849/0.338, allocations: 1.173 MB / 0.5579 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3398, allocations: 401.3 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.34, allocations: 0 / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.101e-05/0.3401, allocations: 0 / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.3403, allocations: 23.91 kB / 0.5583 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3417, allocations: 220.6 kB / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.3423, allocations: 151.8 kB / 0.5586 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.3424, allocations: 7.984 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.3429, allocations: 171.6 kB / 0.5588 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.3436, allocations: 127.7 kB / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.3438, allocations: 12 kB / 0.5589 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3439, allocations: 8 kB / 0.5589 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.3441, allocations: 83.72 kB / 0.559 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.3443, allocations: 69.58 kB / 0.5591 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.3448, allocations: 203.9 kB / 0.5593 GB, free: 9.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3448, allocations: 0 / 0.5593 GB, free: 9.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3448, allocations: 0 / 0.5593 GB, free: 9.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3448, allocations: 0 / 0.5593 GB, free: 9.098 MB / 430.1 MB 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.001774/0.3466, allocations: 0.6642 MB / 0.5599 GB, free: 8.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.508e-05/0.3467, allocations: 8.031 kB / 0.5599 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.3469, allocations: 42.55 kB / 0.56 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.3471, allocations: 35.72 kB / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/0.3479, allocations: 254.4 kB / 0.5602 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/0.348, allocations: 12 kB / 0.5603 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.3481, allocations: 23.94 kB / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.3499, allocations: 209.5 kB / 0.5605 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.3499, allocations: 3.984 kB / 0.5605 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.35, allocations: 0 / 0.5605 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.35, allocations: 4 kB / 0.5605 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3512, allocations: 107.9 kB / 0.5606 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.3519, allocations: 321.3 kB / 0.5609 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.3537, allocations: 190.6 kB / 0.5611 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.3538, allocations: 4 kB / 0.5611 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.3554, allocations: 219.2 kB / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 3.476e-06/0.3554, allocations: 0 / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.00391/0.3593, allocations: 489.9 kB / 0.5618 GB, free: 6.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.3594, allocations: 55.41 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.3601, allocations: 287 kB / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.3602, allocations: 37.69 kB / 0.5621 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3604, allocations: 93.14 kB / 0.5622 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.3606, allocations: 39.5 kB / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.3607, allocations: 12 kB / 0.5623 GB, free: 5.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3609, allocations: 326.8 kB / 0.5626 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.3611, allocations: 83.94 kB / 0.5626 GB, free: 5.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3613, allocations: 137.4 kB / 0.5628 GB, free: 5.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.3616, allocations: 153 kB / 0.5629 GB, free: 5.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3617, allocations: 0 / 0.5629 GB, free: 5.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008258/0.3625, allocations: 388.7 kB / 0.5633 GB, free: 4.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.3626, allocations: 75.38 kB / 0.5634 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3626, allocations: 4 kB / 0.5634 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3627, allocations: 4.188 kB / 0.5634 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.3629, allocations: 27.92 kB / 0.5634 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3629, allocations: 7.953 kB / 0.5634 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.3634, allocations: 59.86 kB / 0.5635 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.3635, allocations: 47.97 kB / 0.5635 GB, free: 4.438 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.3639, allocations: 174 kB / 0.5637 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.364, allocations: 27.7 kB / 0.5637 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.3641, allocations: 26.3 kB / 0.5637 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3641, allocations: 4 kB / 0.5637 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3641, allocations: 3.938 kB / 0.5637 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3641, allocations: 3.953 kB / 0.5637 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.3666, allocations: 0.714 MB / 0.5644 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3666, allocations: 0 / 0.5644 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.3667, allocations: 7.984 kB / 0.5644 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3667, allocations: 0 / 0.5644 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.3667, allocations: 19.95 kB / 0.5645 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3667, allocations: 7.891 kB / 0.5645 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3667, allocations: 0 / 0.5645 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.3686, allocations: 468.7 kB / 0.5649 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.3688, allocations: 168.7 kB / 0.5651 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.3689, allocations: 8 kB / 0.5651 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.3694, allocations: 35.97 kB / 0.5651 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3695, allocations: 15.94 kB / 0.5651 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.3695, allocations: 43.97 kB / 0.5652 GB, free: 2.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.3698, allocations: 209.9 kB / 0.5654 GB, free: 2.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3698, allocations: 0 / 0.5654 GB, free: 2.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.3703, allocations: 48 kB / 0.5654 GB, free: 2.379 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/0.3726, allocations: 1.012 MB / 0.5664 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3741, allocations: 382.6 kB / 0.5668 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3741, allocations: 0 / 0.5668 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.375, allocations: 124.2 kB / 0.5669 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3753, allocations: 31.41 kB / 0.5669 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3781, allocations: 1.657 MB / 0.5685 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.3787, allocations: 0.7438 MB / 0.5693 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.3788, allocations: 13.08 kB / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.3789, allocations: 27.42 kB / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3789, allocations: 0 / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05919/0.4381, allocations: 4.481 MB / 0.5737 GB, free: 9.934 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005061/0.4387, allocations: 184.7 kB / 0.5739 GB, free: 9.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/3.709, allocations: 0 / 0.5739 GB, free: 9.691 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: