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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.899/0.899, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.565/0.565, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.569e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002069/0.002095, allocations: 1.518 MB / 0.5556 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003138, allocations: 0.5249 MB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.003195, allocations: 4 kB / 0.5562 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.003299, allocations: 15.8 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003417, allocations: 27.86 kB / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.00408, allocations: 317.5 kB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.004467, allocations: 487.4 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.004509, allocations: 4 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.004839, allocations: 355.6 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.005046, allocations: 136.1 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.005094, allocations: 28 kB / 0.5575 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.005137, allocations: 28 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.00524, allocations: 123.6 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.005347, allocations: 127.7 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.00596, allocations: 454.8 kB / 0.5582 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005963, allocations: 0 / 0.5582 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.005965, allocations: 0 / 0.5582 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.005971, allocations: 0 / 0.5582 GB, free: 14.67 MB / 0.5261 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.0008664/0.006837, allocations: 0.8067 MB / 0.559 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.006876, allocations: 8.031 kB / 0.559 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.006916, allocations: 46.73 kB / 0.559 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.006997, allocations: 52.66 kB / 0.5591 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.007252, allocations: 260 kB / 0.5593 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.007287, allocations: 12.38 kB / 0.5593 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.007333, allocations: 32.36 kB / 0.5593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.007866, allocations: 234 kB / 0.5596 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.007874, allocations: 192 / 0.5596 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.007893, allocations: 8.312 kB / 0.5596 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.007899, allocations: 4.125 kB / 0.5596 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.008273, allocations: 111.9 kB / 0.5597 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.008542, allocations: 308.5 kB / 0.56 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/0.009072, allocations: 182.5 kB / 0.5602 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.009426, allocations: 120.8 kB / 0.5603 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.009452, allocations: 4 kB / 0.5603 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.009964, allocations: 235.1 kB / 0.5605 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.009966, allocations: 0 / 0.5605 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001314/0.01128, allocations: 0.5349 MB / 0.561 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.01132, allocations: 59.39 kB / 0.5611 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.01161, allocations: 417.9 kB / 0.5615 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.01164, allocations: 37.7 kB / 0.5615 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.0117, allocations: 97.44 kB / 0.5616 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.01173, allocations: 35.67 kB / 0.5616 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01185, allocations: 133.4 kB / 0.5618 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.01194, allocations: 326.8 kB / 0.5621 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.01215, allocations: 199.3 kB / 0.5623 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.01236, allocations: 237.3 kB / 0.5625 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.0126, allocations: 269.2 kB / 0.5628 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.0126, allocations: 4 kB / 0.5628 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005445/0.01315, allocations: 0.5563 MB / 0.5633 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.01321, allocations: 86.02 kB / 0.5634 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01321, allocations: 0 / 0.5634 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.01323, allocations: 7.938 kB / 0.5634 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01334, allocations: 27.92 kB / 0.5634 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.01335, allocations: 0 / 0.5634 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.01359, allocations: 72.03 kB / 0.5635 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.01365, allocations: 59.97 kB / 0.5635 GB, free: 8.82 MB / 0.5261 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.0001584/0.01381, allocations: 195.7 kB / 0.5637 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01385, allocations: 35.77 kB / 0.5638 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.0139, allocations: 39.62 kB / 0.5638 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.01391, allocations: 11.92 kB / 0.5638 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01391, allocations: 0 / 0.5638 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01391, allocations: 0 / 0.5638 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.01511, allocations: 0.7396 MB / 0.5645 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01512, allocations: 3.938 kB / 0.5645 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.01514, allocations: 4 kB / 0.5645 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.01514, allocations: 0 / 0.5645 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.01516, allocations: 23.97 kB / 0.5646 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01517, allocations: 8 kB / 0.5646 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01517, allocations: 3.938 kB / 0.5646 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.01629, allocations: 0.5033 MB / 0.5651 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.01646, allocations: 133.5 kB / 0.5652 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.0165, allocations: 11.98 kB / 0.5652 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.01672, allocations: 39.97 kB / 0.5652 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.01675, allocations: 11.98 kB / 0.5653 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.0168, allocations: 55.97 kB / 0.5653 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001846/0.01699, allocations: 295.1 kB / 0.5656 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01699, allocations: 0 / 0.5656 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002257/0.01721, allocations: 64 kB / 0.5657 GB, free: 6.586 MB / 0.5261 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.0011/0.01831, allocations: 1.067 MB / 0.5667 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.01905, allocations: 494 kB / 0.5672 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01905, allocations: 0 / 0.5672 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.0194, allocations: 123.9 kB / 0.5673 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01966, allocations: 25.64 kB / 0.5673 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.02243, allocations: 3.126 MB / 0.5704 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.02255, allocations: 167 kB / 0.5705 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.0226, allocations: 13.3 kB / 0.5705 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.02265, allocations: 28.48 kB / 0.5706 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of SimCode: time 1.323e-06/0.02265, allocations: 4 kB / 0.5706 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.04389, allocations: 7.917 MB / 0.5783 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.069, allocations: 9.953 kB / 0.5783 GB, free: 9.461 MB / 0.5417 GB " [Timeout remaining time 653] (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 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.580046985298395] Failed to read output from testmodel.py, exit status != 0: 7.150424439460039 7.16224014 7.153691047 Calling exit ...