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.001327/0.001327, 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.001693/0.001693, allocations: 213.3 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.454/1.454, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.9883/0.9883, allocations: 150 MB / 464 MB, free: 10.23 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="cs",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="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.003107/0.003107, allocations: 71.61 kB / 0.642 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2368, allocations: 89.17 MB / 0.7291 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003122/0.2399, allocations: 1.703 MB / 0.7307 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2413, allocations: 0.6149 MB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.2414, allocations: 0 / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.941e-05/0.2415, allocations: 7.875 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.2416, allocations: 39.78 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009087/0.2426, allocations: 366.7 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.2432, allocations: 0.597 MB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2433, allocations: 21.58 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.2438, allocations: 331.5 kB / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.2441, allocations: 156.7 kB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.2442, allocations: 40 kB / 0.7328 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2443, allocations: 40 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.2444, allocations: 131.5 kB / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.2447, allocations: 179.2 kB / 0.7332 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.2453, allocations: 0.5995 MB / 0.7338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2453, allocations: 4 kB / 0.7338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2453, allocations: 0 / 0.7338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2453, allocations: 4 kB / 0.7338 GB, free: 11.94 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.001388/0.2467, allocations: 0.83 MB / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2468, allocations: 8.031 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.2468, allocations: 4.188 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.2468, allocations: 46.67 kB / 0.7346 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.247, allocations: 56.66 kB / 0.7347 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.2474, allocations: 284.6 kB / 0.735 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.2474, allocations: 20.36 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.2475, allocations: 32.36 kB / 0.735 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2487, allocations: 251.9 kB / 0.7353 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2487, allocations: 0 / 0.7353 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2487, allocations: 0 / 0.7353 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2487, allocations: 0 / 0.7353 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.2496, allocations: 119.8 kB / 0.7354 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2509, allocations: 0.5581 MB / 0.7359 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.252, allocations: 174.4 kB / 0.7361 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.2528, allocations: 108.8 kB / 0.7362 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2528, allocations: 4 kB / 0.7362 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.2539, allocations: 230 kB / 0.7364 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2539, allocations: 0 / 0.7364 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002823/0.2567, allocations: 0.4893 MB / 0.7369 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.2568, allocations: 67.33 kB / 0.737 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.2573, allocations: 445.9 kB / 0.7374 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.2574, allocations: 45.69 kB / 0.7374 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2576, allocations: 97.41 kB / 0.7375 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.2576, allocations: 39.73 kB / 0.7376 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.2579, allocations: 141.3 kB / 0.7377 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.258, allocations: 330.8 kB / 0.738 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.2584, allocations: 215.3 kB / 0.7382 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.2589, allocations: 275.3 kB / 0.7385 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.2593, allocations: 289.2 kB / 0.7387 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2593, allocations: 4 kB / 0.7387 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001024/0.2603, allocations: 0.596 MB / 0.7393 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.2604, allocations: 87.38 kB / 0.7394 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2604, allocations: 0 / 0.7394 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.2605, allocations: 4 kB / 0.7394 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2607, allocations: 28.09 kB / 0.7394 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2607, allocations: 4 kB / 0.7394 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.2612, allocations: 63.78 kB / 0.7395 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.2613, allocations: 55.98 kB / 0.7396 GB, free: 5.66 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.0002884/0.2616, allocations: 216.3 kB / 0.7398 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.2617, allocations: 47.7 kB / 0.7398 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.2617, allocations: 47.73 kB / 0.7399 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2617, allocations: 0 / 0.7399 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2617, allocations: 0 / 0.7399 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2617, allocations: 3.938 kB / 0.7399 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.2642, allocations: 0.7512 MB / 0.7406 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2642, allocations: 4 kB / 0.7406 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.2642, allocations: 4 kB / 0.7406 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2642, allocations: 0 / 0.7406 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.2643, allocations: 23.91 kB / 0.7406 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2643, allocations: 0 / 0.7406 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2643, allocations: 0 / 0.7406 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.2662, allocations: 498.4 kB / 0.7411 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.2666, allocations: 177.5 kB / 0.7413 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.2667, allocations: 19.94 kB / 0.7413 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.2672, allocations: 35.95 kB / 0.7413 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2672, allocations: 3.984 kB / 0.7413 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.2673, allocations: 55.98 kB / 0.7414 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003907/0.2677, allocations: 323.1 kB / 0.7417 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2677, allocations: 4 kB / 0.7417 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004185/0.2681, allocations: 64 kB / 0.7418 GB, free: 3.336 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.002443/0.2706, allocations: 1.048 MB / 0.7428 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.272, allocations: 0.5018 MB / 0.7433 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.272, allocations: 0 / 0.7433 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.2729, allocations: 123 kB / 0.7434 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.2733, allocations: 38.83 kB / 0.7434 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005279/0.2786, allocations: 3.33 MB / 0.7467 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2788, allocations: 175 kB / 0.7468 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.673e-05/0.2789, allocations: 17.42 kB / 0.7469 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.279, allocations: 35.42 kB / 0.7469 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.279, allocations: 0 / 0.7469 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.3238, allocations: 8.191 MB / 0.7549 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.92, allocations: 19.31 kB / 0.7549 GB, free: 5.738 MB / 0.5762 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 16.077270225971006] Failed to read output from testmodel.py, exit status != 0: 12.0917571389582 12.405443789 12.157203649 Calling exit ...