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.001376/0.001376, allocations: 109 kB / 20.48 MB, free: 1.473 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.001566/0.001566, allocations: 209.8 kB / 23.79 MB, free: 4.684 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.494/1.494, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.9887/0.9887, allocations: 150 MB / 464 MB, free: 10.55 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.002152/0.002152, allocations: 61.66 kB / 0.6421 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 89.17 MB / 0.7291 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003168/0.1911, allocations: 1.757 MB / 0.7309 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1927, allocations: 0.631 MB / 0.7315 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.1928, allocations: 0 / 0.7315 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1929, allocations: 7.875 kB / 0.7315 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.193, allocations: 39.73 kB / 0.7315 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.1941, allocations: 367.4 kB / 0.7319 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007369/0.1948, allocations: 0.597 MB / 0.7325 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1949, allocations: 25.56 kB / 0.7325 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.1954, allocations: 315.6 kB / 0.7328 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1958, allocations: 167.5 kB / 0.7329 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.1959, allocations: 40 kB / 0.733 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.1959, allocations: 44 kB / 0.733 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1961, allocations: 123.6 kB / 0.7331 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.1963, allocations: 215 kB / 0.7333 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006854/0.197, allocations: 0.5995 MB / 0.7339 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.197, allocations: 4 kB / 0.7339 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.197, allocations: 0 / 0.7339 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.197, allocations: 0 / 0.7339 GB, free: 12.45 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.001451/0.1985, allocations: 0.8475 MB / 0.7348 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1985, allocations: 16.03 kB / 0.7348 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.1985, allocations: 4.188 kB / 0.7348 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.1986, allocations: 42.73 kB / 0.7348 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1987, allocations: 60.59 kB / 0.7349 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.1992, allocations: 272.7 kB / 0.7351 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.1993, allocations: 20.36 kB / 0.7352 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/0.1993, allocations: 28.38 kB / 0.7352 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2004, allocations: 249.6 kB / 0.7354 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2004, allocations: 0 / 0.7354 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2005, allocations: 3.984 kB / 0.7354 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2005, allocations: 4 kB / 0.7354 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.2013, allocations: 107.9 kB / 0.7355 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2027, allocations: 0.6477 MB / 0.7362 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2038, allocations: 174.4 kB / 0.7363 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.2046, allocations: 112.8 kB / 0.7364 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2046, allocations: 0 / 0.7364 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.2057, allocations: 227.3 kB / 0.7367 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.2057, allocations: 0 / 0.7367 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002791/0.2085, allocations: 0.496 MB / 0.7371 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.2085, allocations: 63.39 kB / 0.7372 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.2091, allocations: 445.9 kB / 0.7376 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.2092, allocations: 37.7 kB / 0.7377 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2093, allocations: 105.3 kB / 0.7378 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.2093, allocations: 39.72 kB / 0.7378 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.2095, allocations: 141.4 kB / 0.7379 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2097, allocations: 326.8 kB / 0.7382 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.21, allocations: 139.9 kB / 0.7384 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2104, allocations: 185.9 kB / 0.7386 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.2108, allocations: 299 kB / 0.7388 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2108, allocations: 0 / 0.7388 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000966/0.2118, allocations: 0.5202 MB / 0.7393 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2119, allocations: 95.38 kB / 0.7394 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2119, allocations: 8.188 kB / 0.7394 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2119, allocations: 0 / 0.7394 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2121, allocations: 23.92 kB / 0.7395 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2121, allocations: 4 kB / 0.7395 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.2126, allocations: 63.72 kB / 0.7395 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.2127, allocations: 59.97 kB / 0.7396 GB, free: 6.332 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.0003273/0.2131, allocations: 220.3 kB / 0.7398 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.2131, allocations: 39.72 kB / 0.7398 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.954e-05/0.2132, allocations: 43.72 kB / 0.7399 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2132, allocations: 4 kB / 0.7399 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2132, allocations: 0 / 0.7399 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2132, allocations: 3.938 kB / 0.7399 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.2157, allocations: 0.7591 MB / 0.7406 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2157, allocations: 3.938 kB / 0.7406 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.2157, allocations: 4 kB / 0.7406 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2157, allocations: 3.984 kB / 0.7406 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.2158, allocations: 27.91 kB / 0.7407 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2158, allocations: 0 / 0.7407 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2158, allocations: 4 kB / 0.7407 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.2178, allocations: 486.1 kB / 0.7411 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.2181, allocations: 173.5 kB / 0.7413 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.2182, allocations: 27.94 kB / 0.7413 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.219, allocations: 27.97 kB / 0.7414 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.219, allocations: 7.984 kB / 0.7414 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.2192, allocations: 63.97 kB / 0.7414 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005668/0.2197, allocations: 315.1 kB / 0.7417 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2197, allocations: 0 / 0.7417 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000689/0.2204, allocations: 71.92 kB / 0.7418 GB, free: 4 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.003301/0.2237, allocations: 1.045 MB / 0.7428 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.2258, allocations: 442.4 kB / 0.7432 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2258, allocations: 0 / 0.7432 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.227, allocations: 116.3 kB / 0.7433 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.2277, allocations: 48.94 kB / 0.7434 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.2333, allocations: 3.012 MB / 0.7463 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.2339, allocations: 0.7864 MB / 0.7471 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.234, allocations: 13.42 kB / 0.7471 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.2341, allocations: 31.42 kB / 0.7471 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.2341, allocations: 0 / 0.7471 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.2645, allocations: 6.945 MB / 0.7539 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.72, allocations: 13.81 kB / 0.7539 GB, free: 7.453 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: 15.87817968399031] Failed to read output from testmodel.py, exit status != 0: 11.884199270047247 12.172488238 11.972638312 Calling exit ...