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.001284/0.001283, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.002275/0.002275, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.427/2.427, 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 1.205/1.205, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 61.92 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3217, allocations: 76.17 MB / 0.6316 GB, free: 4.973 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.005976/0.3277, allocations: 1.51 MB / 0.633 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.3301, allocations: 0.5344 MB / 0.6336 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.3303, allocations: 4 kB / 0.6336 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3305, allocations: 7.922 kB / 0.6336 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.3308, allocations: 27.84 kB / 0.6336 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.3324, allocations: 313.9 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3336, allocations: 0.4994 MB / 0.6344 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.3337, allocations: 11.98 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.3344, allocations: 279.6 kB / 0.6347 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.3348, allocations: 147.4 kB / 0.6348 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.335, allocations: 24 kB / 0.6348 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.3351, allocations: 28 kB / 0.6348 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.3353, allocations: 119.6 kB / 0.635 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3356, allocations: 183.1 kB / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.3363, allocations: 418.4 kB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3363, allocations: 0 / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3363, allocations: 0 / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3363, allocations: 0 / 0.6355 GB, free: 0.8867 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.001981/0.3383, allocations: 0.8743 MB / 0.6364 GB, free: 15.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.588e-05/0.3384, allocations: 12.03 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.3385, allocations: 34.75 kB / 0.6364 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.3387, allocations: 56.47 kB / 0.6365 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.3393, allocations: 310.1 kB / 0.6368 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.3394, allocations: 20.36 kB / 0.6368 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3395, allocations: 28.36 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3409, allocations: 210 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3409, allocations: 3.938 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.341, allocations: 7.984 kB / 0.637 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.341, allocations: 0 / 0.637 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3421, allocations: 99.86 kB / 0.6371 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.3428, allocations: 393.2 kB / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.3443, allocations: 177.8 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.3455, allocations: 112.8 kB / 0.6378 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.3456, allocations: 4.375 kB / 0.6378 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.347, allocations: 225.4 kB / 0.638 GB, free: 14.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.3471, allocations: 4 kB / 0.638 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00372/0.3508, allocations: 488.8 kB / 0.6385 GB, free: 13.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3509, allocations: 63.39 kB / 0.6385 GB, free: 13.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.3516, allocations: 413.9 kB / 0.6389 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.3518, allocations: 37.7 kB / 0.639 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3519, allocations: 101.3 kB / 0.6391 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.352, allocations: 39.55 kB / 0.6391 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.3524, allocations: 125.2 kB / 0.6392 GB, free: 12.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.3526, allocations: 326.8 kB / 0.6395 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.353, allocations: 115.9 kB / 0.6396 GB, free: 12.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.3535, allocations: 173.9 kB / 0.6398 GB, free: 12.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.3541, allocations: 279.1 kB / 0.6401 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3542, allocations: 0 / 0.6401 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001262/0.3554, allocations: 493.3 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3556, allocations: 95.31 kB / 0.6406 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3556, allocations: 3.984 kB / 0.6406 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.3557, allocations: 8.188 kB / 0.6406 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3559, allocations: 23.91 kB / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.356, allocations: 4 kB / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.3567, allocations: 55.86 kB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.3568, allocations: 55.98 kB / 0.6408 GB, free: 11.16 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.0004261/0.3572, allocations: 199.9 kB / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.3573, allocations: 51.39 kB / 0.641 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.506e-05/0.3575, allocations: 35.75 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3575, allocations: 0 / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3575, allocations: 0 / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3575, allocations: 0 / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.3608, allocations: 0.7586 MB / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3608, allocations: 0 / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.3609, allocations: 4 kB / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3609, allocations: 0 / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/0.3609, allocations: 23.97 kB / 0.6418 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.361, allocations: 4 kB / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.361, allocations: 0 / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.3635, allocations: 479.2 kB / 0.6423 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/0.364, allocations: 200.4 kB / 0.6425 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.3641, allocations: 15.94 kB / 0.6425 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.3648, allocations: 31.97 kB / 0.6425 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3648, allocations: 7.984 kB / 0.6425 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.3649, allocations: 59.97 kB / 0.6426 GB, free: 9.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006113/0.3656, allocations: 295.1 kB / 0.6429 GB, free: 8.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3656, allocations: 0 / 0.6429 GB, free: 8.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006887/0.3663, allocations: 67.98 kB / 0.6429 GB, free: 8.859 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.003286/0.3696, allocations: 1.017 MB / 0.6439 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.3717, allocations: 444.7 kB / 0.6443 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3717, allocations: 4 kB / 0.6444 GB, free: 7.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3727, allocations: 116.2 kB / 0.6445 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.3733, allocations: 33.52 kB / 0.6445 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/0.3807, allocations: 2.774 MB / 0.6472 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.3819, allocations: 0.7747 MB / 0.648 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.382, allocations: 17.08 kB / 0.648 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3822, allocations: 23.42 kB / 0.648 GB, free: 3.457 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3822, allocations: 0 / 0.648 GB, free: 3.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.4281, allocations: 6.229 MB / 0.6541 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.68, allocations: 6.406 kB / 0.6541 GB, free: 13.22 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)