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.001391/0.001391, 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.001633/0.001633, allocations: 215.5 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9975/0.9975, allocations: 149.9 MB / 463 MB, free: 10.35 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.002097/0.002097, allocations: 64.81 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2067, allocations: 89.18 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00319/0.2099, allocations: 1.7 MB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2114, allocations: 0.6123 MB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.2115, allocations: 4 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2116, allocations: 15.86 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2117, allocations: 35.78 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.2127, allocations: 365.7 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000647/0.2133, allocations: 0.6009 MB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2134, allocations: 13.31 kB / 0.7315 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.2139, allocations: 323.5 kB / 0.7318 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.2142, allocations: 151.6 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2143, allocations: 47.94 kB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2144, allocations: 40 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2146, allocations: 123.6 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.2148, allocations: 179.2 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.2154, allocations: 0.5959 MB / 0.7329 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2154, allocations: 0 / 0.7329 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2154, allocations: 0 / 0.7329 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2154, allocations: 0 / 0.7329 GB, free: 12.18 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.001363/0.2168, allocations: 0.8416 MB / 0.7337 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2168, allocations: 16.03 kB / 0.7337 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.2169, allocations: 42.73 kB / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.217, allocations: 56.66 kB / 0.7338 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.2175, allocations: 272.7 kB / 0.7341 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.2175, allocations: 24.36 kB / 0.7341 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.2176, allocations: 28.36 kB / 0.7341 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/0.2186, allocations: 241.9 kB / 0.7343 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2186, allocations: 11.94 kB / 0.7343 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.2186, allocations: 7.938 kB / 0.7344 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2186, allocations: 4 kB / 0.7344 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.2194, allocations: 111.9 kB / 0.7345 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2207, allocations: 0.5581 MB / 0.735 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2217, allocations: 182.4 kB / 0.7352 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/0.2225, allocations: 104.8 kB / 0.7353 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2225, allocations: 0 / 0.7353 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009928/0.2235, allocations: 231.2 kB / 0.7355 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.2235, allocations: 0 / 0.7355 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002573/0.2261, allocations: 499.2 kB / 0.736 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.2261, allocations: 71.33 kB / 0.7361 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.2267, allocations: 441.9 kB / 0.7365 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/0.2268, allocations: 37.7 kB / 0.7365 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2269, allocations: 105.4 kB / 0.7366 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.227, allocations: 43.67 kB / 0.7367 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.2272, allocations: 141.4 kB / 0.7368 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.2274, allocations: 326.8 kB / 0.7371 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.2278, allocations: 223.3 kB / 0.7373 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.2282, allocations: 269.3 kB / 0.7376 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.2287, allocations: 294.6 kB / 0.7378 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2287, allocations: 0 / 0.7378 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001136/0.2298, allocations: 0.5938 MB / 0.7384 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.846e-05/0.2299, allocations: 87.38 kB / 0.7385 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2299, allocations: 0 / 0.7385 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2299, allocations: 4 kB / 0.7385 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2301, allocations: 19.92 kB / 0.7385 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2301, allocations: 7.984 kB / 0.7385 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.2306, allocations: 64.03 kB / 0.7386 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.2307, allocations: 63.92 kB / 0.7387 GB, free: 5.883 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.0002966/0.231, allocations: 212.3 kB / 0.7389 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.2311, allocations: 43.72 kB / 0.7389 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/0.2311, allocations: 43.72 kB / 0.7389 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2311, allocations: 3.938 kB / 0.739 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2311, allocations: 0 / 0.739 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2312, allocations: 0 / 0.739 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.2334, allocations: 0.7474 MB / 0.7397 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2334, allocations: 0 / 0.7397 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.2335, allocations: 4 kB / 0.7397 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2335, allocations: 0 / 0.7397 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.2335, allocations: 31.89 kB / 0.7397 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2335, allocations: 4 kB / 0.7397 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2335, allocations: 0 / 0.7397 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2352, allocations: 0.4903 MB / 0.7402 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.2356, allocations: 173.5 kB / 0.7404 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.2357, allocations: 23.94 kB / 0.7404 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.2362, allocations: 31.97 kB / 0.7404 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.2362, allocations: 7.984 kB / 0.7404 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.2363, allocations: 59.97 kB / 0.7405 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003582/0.2367, allocations: 319.1 kB / 0.7408 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2367, allocations: 0 / 0.7408 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003937/0.2371, allocations: 67.98 kB / 0.7409 GB, free: 3.566 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.002226/0.2393, allocations: 1.04 MB / 0.7419 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.2407, allocations: 0.5089 MB / 0.7424 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2407, allocations: 0 / 0.7424 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007546/0.2415, allocations: 123.8 kB / 0.7425 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.2419, allocations: 32.64 kB / 0.7425 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.2471, allocations: 3.339 MB / 0.7458 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2473, allocations: 175 kB / 0.7459 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.488e-05/0.2474, allocations: 17.42 kB / 0.746 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.2475, allocations: 31.42 kB / 0.746 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.2475, allocations: 0 / 0.746 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.2857, allocations: 8.589 MB / 0.7544 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.44, allocations: 4.594 kB / 0.7544 GB, free: 5.57 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.610730742104352] Failed to read output from testmodel.py, exit status != 0: 11.557930211070925 11.918724679 11.700557363 Calling exit ...