Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_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.001178/0.001178, allocations: 103.7 kB / 16.4 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 192.6 kB / 17.34 MB, free: 5.617 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7385/0.7385, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 71.61 kB / 0.5572 GB, free: 32.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1499, allocations: 76.17 MB / 0.6316 GB, free: 5.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00247/0.1525, allocations: 1.512 MB / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1537, allocations: 0.5422 MB / 0.6336 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.1537, allocations: 0 / 0.6336 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.879e-05/0.1538, allocations: 7.875 kB / 0.6336 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.154, allocations: 31.84 kB / 0.6336 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.1548, allocations: 308.6 kB / 0.6339 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.1554, allocations: 0.5033 MB / 0.6344 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.1554, allocations: 11.98 kB / 0.6344 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.1559, allocations: 275.6 kB / 0.6347 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.1562, allocations: 147.5 kB / 0.6348 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.1563, allocations: 24 kB / 0.6348 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.1564, allocations: 28 kB / 0.6349 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1565, allocations: 119.6 kB / 0.635 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.1567, allocations: 183.1 kB / 0.6351 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1571, allocations: 422.4 kB / 0.6355 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1571, allocations: 0 / 0.6355 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1571, allocations: 0 / 0.6355 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.1572, allocations: 0 / 0.6355 GB, free: 0.9648 MB / 478.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.00117/0.1583, allocations: 0.8742 MB / 0.6364 GB, free: 0 / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.1584, allocations: 12.08 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1584, allocations: 38.69 kB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1586, allocations: 52.47 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1589, allocations: 306.2 kB / 0.6368 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.159, allocations: 20.36 kB / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.159, allocations: 28.38 kB / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1601, allocations: 214 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1601, allocations: 3.938 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1601, allocations: 0 / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1601, allocations: 0 / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008221/0.161, allocations: 99.86 kB / 0.6371 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1614, allocations: 389.2 kB / 0.6375 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1625, allocations: 178.5 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.1633, allocations: 112.8 kB / 0.6378 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1633, allocations: 4 kB / 0.6378 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009699/0.1643, allocations: 223.4 kB / 0.638 GB, free: 14.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.1643, allocations: 0 / 0.638 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002591/0.1669, allocations: 484.8 kB / 0.6385 GB, free: 13.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1669, allocations: 67.38 kB / 0.6385 GB, free: 13.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.1673, allocations: 409.9 kB / 0.6389 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.1674, allocations: 41.69 kB / 0.639 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.1675, allocations: 97.36 kB / 0.6391 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.1675, allocations: 39.55 kB / 0.6391 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.1677, allocations: 133.2 kB / 0.6392 GB, free: 12.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1679, allocations: 322.8 kB / 0.6395 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1681, allocations: 115.9 kB / 0.6396 GB, free: 12.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1684, allocations: 178.1 kB / 0.6398 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.1688, allocations: 275.5 kB / 0.6401 GB, free: 12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1688, allocations: 0 / 0.6401 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008196/0.1696, allocations: 495.4 kB / 0.6405 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.1697, allocations: 95.31 kB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1697, allocations: 4 kB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1698, allocations: 4 kB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1699, allocations: 20.11 kB / 0.6407 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1699, allocations: 8 kB / 0.6407 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.1705, allocations: 55.86 kB / 0.6407 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/0.1705, allocations: 63.97 kB / 0.6408 GB, free: 11.24 MB / 494.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 (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.0002168/0.1708, allocations: 195.9 kB / 0.641 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.1708, allocations: 43.47 kB / 0.641 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.1709, allocations: 47.73 kB / 0.6411 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1709, allocations: 0 / 0.6411 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1709, allocations: 0 / 0.6411 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1709, allocations: 0 / 0.6411 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.1732, allocations: 0.752 MB / 0.6418 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1732, allocations: 0 / 0.6418 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1732, allocations: 7.984 kB / 0.6418 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1733, allocations: 0 / 0.6418 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.1733, allocations: 15.98 kB / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1733, allocations: 0 / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1733, allocations: 3.938 kB / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.1751, allocations: 475.2 kB / 0.6423 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.1754, allocations: 204.4 kB / 0.6425 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.1755, allocations: 11.98 kB / 0.6425 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.176, allocations: 35.97 kB / 0.6425 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.176, allocations: 7.984 kB / 0.6425 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.1761, allocations: 51.98 kB / 0.6426 GB, free: 9.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.1764, allocations: 295.1 kB / 0.6428 GB, free: 9.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1764, allocations: 0 / 0.6428 GB, free: 9.027 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.1769, allocations: 71.98 kB / 0.6429 GB, free: 8.957 MB / 494.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 (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.002096/0.179, allocations: 1.024 MB / 0.6439 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1802, allocations: 446.4 kB / 0.6443 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1803, allocations: 0 / 0.6443 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.1811, allocations: 123.9 kB / 0.6445 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1815, allocations: 28.11 kB / 0.6445 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.186, allocations: 2.783 MB / 0.6472 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.1865, allocations: 0.7669 MB / 0.648 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.1866, allocations: 17.08 kB / 0.648 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.1867, allocations: 27.42 kB / 0.648 GB, free: 3.547 MB / 494.1 MB Notification: Performance of SimCode: time 3.216e-06/0.1867, allocations: 0 / 0.648 GB, free: 3.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.2097, allocations: 6.231 MB / 0.6541 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.968, allocations: 15 kB / 0.6541 GB, free: 13.3 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)