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.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.001728/0.001728, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 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.001543/0.001543, allocations: 214.4 kB / 23.78 MB, free: 4.523 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 1.025/1.025, allocations: 150 MB / 464 MB, free: 10.15 MB / 366.1 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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 74 kB / 0.6419 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2035, allocations: 89.17 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003308/0.2068, allocations: 1.502 MB / 0.7305 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2082, allocations: 0.5366 MB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.2083, allocations: 3.938 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.666e-05/0.2084, allocations: 3.938 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2085, allocations: 27.86 kB / 0.731 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2095, allocations: 326.6 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.2102, allocations: 483.5 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.2102, allocations: 11.97 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.2107, allocations: 275.7 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.2111, allocations: 147.6 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.2112, allocations: 24 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2113, allocations: 28 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.2114, allocations: 119.7 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.2116, allocations: 159.2 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.2122, allocations: 426.7 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2122, allocations: 3.984 kB / 0.733 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2122, allocations: 0 / 0.733 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2122, allocations: 0 / 0.733 GB, free: 12.74 MB / 0.5606 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.001518/0.2137, allocations: 0.7974 MB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.2137, allocations: 12.03 kB / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.453e-05/0.2138, allocations: 192 / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.2138, allocations: 46.73 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.214, allocations: 52.64 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2144, allocations: 256.8 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.2145, allocations: 20.36 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/0.2146, allocations: 28.31 kB / 0.7341 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2156, allocations: 213.7 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2157, allocations: 4 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.2157, allocations: 0 / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2157, allocations: 4 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.2165, allocations: 95.92 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.217, allocations: 320.4 kB / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.2181, allocations: 174.5 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.2189, allocations: 100.8 kB / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.2189, allocations: 4 kB / 0.735 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.22, allocations: 223.1 kB / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.22, allocations: 0 / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002753/0.2227, allocations: 491 kB / 0.7357 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.2228, allocations: 63.39 kB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.2233, allocations: 413.9 kB / 0.7361 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.2234, allocations: 41.69 kB / 0.7362 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.2235, allocations: 89.45 kB / 0.7363 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.2235, allocations: 47.67 kB / 0.7363 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.2238, allocations: 121.5 kB / 0.7364 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2239, allocations: 322.8 kB / 0.7367 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.2243, allocations: 195.3 kB / 0.7369 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.2247, allocations: 237.3 kB / 0.7371 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.2251, allocations: 273.2 kB / 0.7374 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2251, allocations: 4 kB / 0.7374 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000965/0.2261, allocations: 0.5481 MB / 0.7379 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.505e-05/0.2262, allocations: 87.56 kB / 0.738 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2262, allocations: 0 / 0.738 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2262, allocations: 4 kB / 0.738 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2264, allocations: 23.92 kB / 0.7381 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2264, allocations: 0 / 0.7381 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.2269, allocations: 67.77 kB / 0.7381 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.227, allocations: 55.98 kB / 0.7382 GB, free: 7.035 MB / 0.5606 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.0002765/0.2273, allocations: 203.7 kB / 0.7384 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.2274, allocations: 43.66 kB / 0.7384 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.2275, allocations: 39.67 kB / 0.7384 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2275, allocations: 0 / 0.7384 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2275, allocations: 4 kB / 0.7385 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2275, allocations: 0 / 0.7385 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.2299, allocations: 0.7122 MB / 0.7391 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2299, allocations: 0 / 0.7391 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.2299, allocations: 4 kB / 0.7392 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2299, allocations: 0 / 0.7392 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.23, allocations: 23.91 kB / 0.7392 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.23, allocations: 0 / 0.7392 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.23, allocations: 0 / 0.7392 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.2318, allocations: 494.2 kB / 0.7396 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.2321, allocations: 125.6 kB / 0.7398 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.2322, allocations: 15.98 kB / 0.7398 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.2327, allocations: 27.97 kB / 0.7398 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.2327, allocations: 11.98 kB / 0.7398 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/0.2328, allocations: 63.97 kB / 0.7399 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003502/0.2332, allocations: 299 kB / 0.7402 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2332, allocations: 0 / 0.7402 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004204/0.2336, allocations: 67.98 kB / 0.7402 GB, free: 4.859 MB / 0.5606 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.002134/0.2357, allocations: 1.033 MB / 0.7412 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2371, allocations: 469.8 kB / 0.7417 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2371, allocations: 4 kB / 0.7417 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.2379, allocations: 115.5 kB / 0.7418 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.2383, allocations: 26.5 kB / 0.7418 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.2431, allocations: 3.089 MB / 0.7448 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.2433, allocations: 166.9 kB / 0.745 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.2434, allocations: 17.08 kB / 0.745 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.2434, allocations: 19.44 kB / 0.745 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.2434, allocations: 0 / 0.745 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.2766, allocations: 7.565 MB / 0.7524 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.75, allocations: 10.81 kB / 0.7524 GB, free: 8.219 MB / 0.5762 GB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.150089945993386] Failed to read output from testmodel.py, exit status != 0: 11.920524711022153 12.321105311 12.10431962 Calling exit ...