Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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.001324/0.001324, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001486/0.001486, allocations: 210.9 kB / 23.04 MB, free: 5.008 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.715 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 0.9872/0.9872, allocations: 150 MB / 463.2 MB, free: 10.16 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",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.002069/0.002069, allocations: 71.52 kB / 0.6413 GB, free: 9.742 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1932, allocations: 89.18 MB / 0.7284 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003106/0.1963, allocations: 1.703 MB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1978, allocations: 0.6091 MB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.1979, allocations: 0 / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.198, allocations: 15.8 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1982, allocations: 31.84 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1992, allocations: 375 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007864/0.2, allocations: 0.6009 MB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2002, allocations: 21.58 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.2006, allocations: 319.6 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.201, allocations: 144.8 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2011, allocations: 44 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2012, allocations: 40 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.2013, allocations: 127.7 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.2015, allocations: 179.2 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.2022, allocations: 0.6073 MB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2022, allocations: 4 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2022, allocations: 0 / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2022, allocations: 0 / 0.7331 GB, free: 11.83 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0014/0.2036, allocations: 0.8417 MB / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2036, allocations: 11.97 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.2037, allocations: 38.75 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2038, allocations: 68.64 kB / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.2043, allocations: 280.6 kB / 0.7343 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.2044, allocations: 20.38 kB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.2044, allocations: 32.36 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2055, allocations: 249.9 kB / 0.7346 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2055, allocations: 3.938 kB / 0.7346 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.2055, allocations: 4 kB / 0.7346 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2055, allocations: 7.984 kB / 0.7346 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.2063, allocations: 127.9 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2076, allocations: 0.562 MB / 0.7353 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2087, allocations: 186.5 kB / 0.7354 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.2094, allocations: 116.8 kB / 0.7355 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2094, allocations: 4 kB / 0.7356 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009966/0.2104, allocations: 251.1 kB / 0.7358 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.2104, allocations: 0 / 0.7358 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002608/0.213, allocations: 0.5385 MB / 0.7363 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.2131, allocations: 59.41 kB / 0.7364 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.2136, allocations: 441.9 kB / 0.7368 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.2137, allocations: 41.69 kB / 0.7368 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.2137, allocations: 113.3 kB / 0.7369 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.2138, allocations: 31.73 kB / 0.737 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.214, allocations: 145.4 kB / 0.7371 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2142, allocations: 326.8 kB / 0.7374 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2145, allocations: 223.3 kB / 0.7376 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2149, allocations: 277.2 kB / 0.7379 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.2153, allocations: 287 kB / 0.7382 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2153, allocations: 0 / 0.7382 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009638/0.2163, allocations: 0.6034 MB / 0.7388 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.681e-05/0.2164, allocations: 99.39 kB / 0.7389 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2164, allocations: 0 / 0.7389 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2164, allocations: 4 kB / 0.7389 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2166, allocations: 19.98 kB / 0.7389 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.2166, allocations: 7.938 kB / 0.7389 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.2171, allocations: 63.78 kB / 0.7389 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2172, allocations: 71.91 kB / 0.739 GB, free: 5.398 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002666/0.2175, allocations: 216.4 kB / 0.7392 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.2175, allocations: 39.72 kB / 0.7393 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.2176, allocations: 51.66 kB / 0.7393 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2176, allocations: 0 / 0.7393 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2176, allocations: 0 / 0.7393 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2176, allocations: 3.938 kB / 0.7393 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.2199, allocations: 0.7709 MB / 0.7401 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2199, allocations: 0 / 0.7401 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2199, allocations: 7.938 kB / 0.7401 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2199, allocations: 3.984 kB / 0.7401 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.22, allocations: 27.92 kB / 0.7401 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.22, allocations: 0 / 0.7401 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.22, allocations: 4 kB / 0.7401 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.2218, allocations: 0.5102 MB / 0.7406 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.2221, allocations: 173.5 kB / 0.7408 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.2222, allocations: 27.92 kB / 0.7408 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.2226, allocations: 31.97 kB / 0.7408 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2227, allocations: 11.98 kB / 0.7408 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.2227, allocations: 67.91 kB / 0.7409 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003714/0.2231, allocations: 319.1 kB / 0.7412 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2231, allocations: 0 / 0.7412 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004421/0.2236, allocations: 67.98 kB / 0.7413 GB, free: 3.008 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002197/0.2258, allocations: 1.075 MB / 0.7423 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.2273, allocations: 0.5251 MB / 0.7428 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.2273, allocations: 4 kB / 0.7428 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.2281, allocations: 131.5 kB / 0.743 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.2285, allocations: 34.38 kB / 0.743 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.2339, allocations: 3.359 MB / 0.7463 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2341, allocations: 187 kB / 0.7465 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.613e-05/0.2342, allocations: 13.42 kB / 0.7465 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.2343, allocations: 31.42 kB / 0.7465 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of SimCode: time 1.784e-06/0.2343, allocations: 0 / 0.7465 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04824/0.2825, allocations: 8.601 MB / 0.7549 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.35, allocations: 4.812 kB / 0.7549 GB, free: 4.902 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.592572869034484] Failed to read output from testmodel.py, exit status != 0: 11.463977904990315 11.836584185 11.631487551 Calling exit ...