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.002151/0.002151, allocations: 119 kB / 19.69 MB, free: 2.199 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.001784/0.001784, allocations: 225 kB / 23.01 MB, free: 5.047 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8 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.9787/0.9787, allocations: 150 MB / 463.2 MB, free: 10.5 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.002455/0.002455, allocations: 70.86 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1762, allocations: 89.17 MB / 0.7284 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003124/0.1793, allocations: 1.756 MB / 0.7301 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1807, allocations: 0.6286 MB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.1808, allocations: 0 / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.1809, allocations: 19.8 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.181, allocations: 39.73 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009499/0.182, allocations: 365.6 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007272/0.1827, allocations: 0.601 MB / 0.7317 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.1828, allocations: 25.56 kB / 0.7317 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.1833, allocations: 319.6 kB / 0.732 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1837, allocations: 156.9 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1838, allocations: 40 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.1838, allocations: 44 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.184, allocations: 127.6 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1842, allocations: 215 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.1849, allocations: 0.6072 MB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1849, allocations: 0 / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1849, allocations: 0 / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.1849, allocations: 0 / 0.7332 GB, free: 12.36 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.001492/0.1864, allocations: 0.8456 MB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1864, allocations: 8.031 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.757e-05/0.1865, allocations: 46.72 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.1866, allocations: 56.66 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.1871, allocations: 280.6 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.1872, allocations: 24.36 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.1872, allocations: 32.36 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.1882, allocations: 233.9 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1882, allocations: 3.938 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1882, allocations: 4 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1882, allocations: 4 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.189, allocations: 111.9 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.1904, allocations: 0.6438 MB / 0.7354 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1914, allocations: 174.5 kB / 0.7356 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007088/0.1921, allocations: 104.8 kB / 0.7357 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1922, allocations: 0 / 0.7357 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009552/0.1931, allocations: 237.9 kB / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.1931, allocations: 0 / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002503/0.1956, allocations: 0.4895 MB / 0.7364 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.1957, allocations: 63.39 kB / 0.7364 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.1962, allocations: 437.9 kB / 0.7369 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.1963, allocations: 45.69 kB / 0.7369 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1964, allocations: 105.3 kB / 0.737 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.1964, allocations: 43.72 kB / 0.737 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.1967, allocations: 141.4 kB / 0.7372 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1968, allocations: 330.8 kB / 0.7375 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.1971, allocations: 127.9 kB / 0.7376 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1975, allocations: 193.9 kB / 0.7378 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.1979, allocations: 299.5 kB / 0.7381 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1979, allocations: 4 kB / 0.7381 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001043/0.1989, allocations: 0.522 MB / 0.7386 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.199, allocations: 91.38 kB / 0.7387 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1991, allocations: 4 kB / 0.7387 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1991, allocations: 0 / 0.7387 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1992, allocations: 19.98 kB / 0.7387 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1993, allocations: 7.938 kB / 0.7387 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.1997, allocations: 67.95 kB / 0.7388 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.1998, allocations: 63.92 kB / 0.7388 GB, free: 6.242 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.000281/0.2001, allocations: 216.3 kB / 0.739 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.2002, allocations: 43.72 kB / 0.7391 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.2003, allocations: 39.72 kB / 0.7391 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2003, allocations: 4 kB / 0.7391 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2003, allocations: 8 kB / 0.7391 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2003, allocations: 0 / 0.7391 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.2025, allocations: 0.7552 MB / 0.7399 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2025, allocations: 0 / 0.7399 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.2025, allocations: 15.94 kB / 0.7399 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2025, allocations: 0 / 0.7399 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.2026, allocations: 23.91 kB / 0.7399 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2026, allocations: 0 / 0.7399 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2026, allocations: 0 / 0.7399 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2043, allocations: 486.6 kB / 0.7404 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.2047, allocations: 173.5 kB / 0.7405 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.2047, allocations: 19.94 kB / 0.7406 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.2052, allocations: 35.91 kB / 0.7406 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.2053, allocations: 11.97 kB / 0.7406 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.2053, allocations: 55.98 kB / 0.7407 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000367/0.2057, allocations: 323.1 kB / 0.741 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2057, allocations: 0 / 0.741 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004165/0.2061, allocations: 67.94 kB / 0.741 GB, free: 3.922 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.00218/0.2083, allocations: 1.044 MB / 0.7421 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.2098, allocations: 446.4 kB / 0.7425 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2098, allocations: 0 / 0.7425 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/0.2105, allocations: 118.7 kB / 0.7426 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2109, allocations: 37.62 kB / 0.7426 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.2159, allocations: 3.01 MB / 0.7456 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.2165, allocations: 0.7864 MB / 0.7463 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.2165, allocations: 17.42 kB / 0.7463 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.2166, allocations: 35.42 kB / 0.7464 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.2166, allocations: 0 / 0.7464 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.2525, allocations: 6.903 MB / 0.7531 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.47, allocations: 6.062 kB / 0.7531 GB, free: 7.398 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 sys.exit(0), Time elapsed: 15.745688882889226] Failed to read output from testmodel.py, exit status != 0: 11.580016127089038 12.058025871 11.87038356 Calling exit ...