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.001856/0.001856, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002172/0.002172, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.654/1.654, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.019/1.019, allocations: 149.9 MB / 463 MB, free: 10.4 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.002078/0.002078, allocations: 61.28 kB / 0.6416 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2138, allocations: 89.17 MB / 0.7287 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003224/0.217, allocations: 1.703 MB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2185, allocations: 0.6058 MB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.2186, allocations: 0 / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.2187, allocations: 11.86 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.2189, allocations: 39.78 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.2199, allocations: 378.5 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.2206, allocations: 0.5931 MB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2208, allocations: 21.3 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.2212, allocations: 323.6 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.2215, allocations: 155.3 kB / 0.7324 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.2217, allocations: 40 kB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2218, allocations: 40 kB / 0.7325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.2219, allocations: 139.5 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2221, allocations: 175.2 kB / 0.7328 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.2228, allocations: 0.5995 MB / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2228, allocations: 0 / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2228, allocations: 0 / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2228, allocations: 0 / 0.7333 GB, free: 11.71 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.001518/0.2243, allocations: 0.8339 MB / 0.7342 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2244, allocations: 8.031 kB / 0.7342 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.2245, allocations: 60.66 kB / 0.7342 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.225, allocations: 284.6 kB / 0.7345 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.2251, allocations: 20.36 kB / 0.7345 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/0.2252, allocations: 32.36 kB / 0.7345 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2262, allocations: 233.9 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2262, allocations: 4.188 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2262, allocations: 3.938 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2263, allocations: 0 / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.227, allocations: 123.8 kB / 0.7349 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2284, allocations: 0.5313 MB / 0.7354 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2294, allocations: 170.5 kB / 0.7356 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.2301, allocations: 104.8 kB / 0.7357 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.2301, allocations: 4 kB / 0.7357 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009811/0.2311, allocations: 235.1 kB / 0.7359 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/0.2311, allocations: 0 / 0.7359 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00252/0.2336, allocations: 0.4912 MB / 0.7364 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.2337, allocations: 67.39 kB / 0.7365 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.2343, allocations: 445.8 kB / 0.7369 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.2343, allocations: 41.69 kB / 0.7369 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2345, allocations: 101.4 kB / 0.737 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.2345, allocations: 39.73 kB / 0.7371 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.2347, allocations: 145.4 kB / 0.7372 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2349, allocations: 322.8 kB / 0.7375 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.2353, allocations: 215.3 kB / 0.7377 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.2357, allocations: 277.3 kB / 0.738 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.2361, allocations: 286.7 kB / 0.7382 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2361, allocations: 7.938 kB / 0.7382 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000953/0.237, allocations: 0.5899 MB / 0.7388 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.2371, allocations: 91.55 kB / 0.7389 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2372, allocations: 4 kB / 0.7389 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.2372, allocations: 4 kB / 0.7389 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.2373, allocations: 23.86 kB / 0.7389 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2373, allocations: 4 kB / 0.7389 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.2378, allocations: 63.83 kB / 0.739 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.2379, allocations: 67.95 kB / 0.7391 GB, free: 5.508 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.0003014/0.2382, allocations: 220.3 kB / 0.7393 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.2383, allocations: 39.72 kB / 0.7393 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.2384, allocations: 39.73 kB / 0.7394 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2384, allocations: 3.984 kB / 0.7394 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2384, allocations: 0 / 0.7394 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2384, allocations: 0 / 0.7394 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.2406, allocations: 0.7167 MB / 0.7401 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2406, allocations: 3.984 kB / 0.7401 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.2406, allocations: 4 kB / 0.7401 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2406, allocations: 4 kB / 0.7401 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.2406, allocations: 23.97 kB / 0.7401 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2407, allocations: 0 / 0.7401 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2407, allocations: 0 / 0.7401 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2423, allocations: 494.2 kB / 0.7406 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.2426, allocations: 177.5 kB / 0.7407 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.2427, allocations: 23.94 kB / 0.7408 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.2432, allocations: 31.91 kB / 0.7408 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.2432, allocations: 15.86 kB / 0.7408 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.2433, allocations: 63.97 kB / 0.7409 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000355/0.2437, allocations: 319.1 kB / 0.7412 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2437, allocations: 0 / 0.7412 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003824/0.244, allocations: 67.98 kB / 0.7412 GB, free: 3.227 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.0001846/0.2442, allocations: 123.2 kB / 0.7414 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.2456, allocations: 0.5018 MB / 0.7418 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2456, allocations: 0 / 0.7418 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.2463, allocations: 115.9 kB / 0.742 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2467, allocations: 35.69 kB / 0.742 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2483, allocations: 0.5982 MB / 0.7426 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2486, allocations: 186.9 kB / 0.7427 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.54e-05/0.2486, allocations: 13.42 kB / 0.7428 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.2487, allocations: 19.44 kB / 0.7428 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2487, allocations: 0 / 0.7428 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Templates: time 0.0124/0.2611, allocations: 6.585 MB / 0.7492 GB, free: 10.96 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.642755290493369] Failed to read output from testmodel.py, exit status != 0: 0.2708668690174818 0.654629902 0.42875661400000004 Calling exit ...